halyard kubernetes

From Idiotic Agouti, 5 Years ago, written in Plain Text, viewed 300 times.
URL https://paste.steamr.com/view/2c8a8da8 Embed
Download Paste or View Raw
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4.   name: halyard
  5.   labels:
  6.     app: halyard
  7. spec:
  8.   containers:
  9.     - name: halyard
  10.       imagePullPolicy: Always
  11.       image: gcr.io/spinnaker-marketplace/halyard:stable
  12.       volumeMounts:
  13.         - name: halyard-data
  14.           mountPath: /root
  15.       ports:
  16.         - containerPort: 9000
  17.         - containerPort: 8084
  18.   volumes:
  19.     - name: halyard-data
  20.       persistentVolumeClaim:
  21.         claimName: halyard-data-0
  22. ---
  23. apiVersion: v1
  24. kind: Service
  25. metadata:
  26.   name: halyard-service
  27. spec:
  28.   type: LoadBalancer
  29.   ports:
  30.     - port: 9000
  31.       targetPort: 9000
  32.       name: hal
  33.       protocol: TCP
  34.     - port: 8084
  35.       name: hal2
  36.       targetPort: 8084
  37.       protocol: TCP
  38.   selector:
  39.     app: halyard
  40. ---
  41. apiVersion: extensions/v1beta1
  42. kind: Ingress
  43. metadata:
  44.   annotations:
  45.     kubernetes.io/ingress.allow-http: "true"
  46.   name: halyard-ingress
  47. spec:
  48.   rules:
  49.   - host: halyard.uc.ucalgary.ca
  50.     http:
  51.       paths:
  52.       - backend:
  53.           serviceName: halyard-service
  54.           servicePort: 9000
  55.         path: /*
  56.   tls:
  57.   - hosts:
  58.     - halyard.uc.ucalgary.ca
  59.     secretName: ingress-proxy-secret
  60.  
  61. ---
  62. kind: PersistentVolumeClaim
  63. apiVersion: v1
  64. metadata:
  65.   name: halyard-data-0
  66.   labels:
  67.     app: halyard
  68.   annotations:
  69.     volume.beta.kubernetes.io/storage-class: halyard-pod-storage
  70. spec:
  71.   accessModes:
  72.   - ReadWriteOnce
  73.   resources:
  74.     requests:
  75.       storage: 5Gi
  76.   dataSource:
  77. ---
  78. kind: StorageClass
  79. apiVersion: storage.k8s.io/v1
  80. metadata:
  81.   name: halyard-pod-storage
  82. provisioner: kubernetes.io/vsphere-volume
  83. parameters:
  84.     diskformat: thin
  85.     datastore: itsoesxcaas01_LUN01
  86.     fstype: ext3
  87.  
  88.  

Reply to "halyard kubernetes"

Here you can reply to the paste above