Untitled

From Torrid Coyote, 7 Years ago, written in Plain Text, viewed 2 times.
URL https://paste.blessuren.de/view/af576de0 Embed
Download Paste or View Raw
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4.   name: mgebbe-apps
  5.   labels:
  6.     app: mgebbe-apps
  7. spec:
  8.   containers:
  9.   - name: mgebbe-nginx
  10.     image: nginx:1.15
  11.     ports:
  12.     - containerPort: 80
  13.   - name: pivx
  14.     image: matzeihn/pivx:latest
  15.     volumeMounts:
  16.     - name: pivx-vol
  17.       mountPath: "/home/pivx/.pivx/"
  18.   volumes:
  19.   - name: pivx-vol
  20.     hostPath:
  21.       path: /data/pivx/
  22. ---
  23. kind: Service
  24. apiVersion: v1
  25. metadata:
  26.   name: mgebbe-service
  27. spec:
  28.   selector:
  29.     app: mgebbe-apps
  30.   type: NodePort
  31.   ports:
  32.   - protocol: TCP
  33.     port: 80
  34.     nodePort: 30000

Reply to "Untitled"

Here you can reply to the paste above