- apiVersion: v1
- kind: Pod
- metadata:
- name: halyard
- labels:
- app: halyard
- spec:
- containers:
- - name: halyard
- imagePullPolicy: Always
- image: gcr.io/spinnaker-marketplace/halyard:stable
- volumeMounts:
- - name: halyard-data
- mountPath: /root
- ports:
- - containerPort: 9000
- - containerPort: 8084
- volumes:
- - name: halyard-data
- persistentVolumeClaim:
- claimName: halyard-data-0
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: halyard-service
- spec:
- type: LoadBalancer
- ports:
- - port: 9000
- targetPort: 9000
- name: hal
- protocol: TCP
- - port: 8084
- name: hal2
- targetPort: 8084
- protocol: TCP
- selector:
- app: halyard
- ---
- apiVersion: extensions/v1beta1
- kind: Ingress
- metadata:
- annotations:
- kubernetes.io/ingress.allow-http: "true"
- name: halyard-ingress
- spec:
- rules:
- - host: halyard.uc.ucalgary.ca
- http:
- paths:
- - backend:
- serviceName: halyard-service
- servicePort: 9000
- path: /*
- tls:
- - hosts:
- - halyard.uc.ucalgary.ca
- secretName: ingress-proxy-secret
- ---
- kind: PersistentVolumeClaim
- apiVersion: v1
- metadata:
- name: halyard-data-0
- labels:
- app: halyard
- annotations:
- volume.beta.kubernetes.io/storage-class: halyard-pod-storage
- spec:
- accessModes:
- - ReadWriteOnce
- resources:
- requests:
- storage: 5Gi
- dataSource:
- ---
- kind: StorageClass
- apiVersion: storage.k8s.io/v1
- metadata:
- name: halyard-pod-storage
- provisioner: kubernetes.io/vsphere-volume
- parameters:
- diskformat: thin
- datastore: itsoesxcaas01_LUN01
- fstype: ext3