blob: 24758a7159de74393bd3f339430a3545113846ff [file] [log] [blame]
apiVersion: v1
kind: Service
metadata:
name: rapp-man
namespace: nonrtric
labels:
run: rapp-man
spec:
type: NodePort
ports:
- port: 9970
targetPort: 9970
protocol: TCP
name: http
nodePort:
- port: 9971
targetPort: 9971
protocol: TCP
name: https
nodePort:
selector:
run: rapp-man
---
apiVersion: v1
kind: Pod
metadata:
name: rapp-man
namespace: nonrtric
labels:
run: rapp-man
spec:
volumes:
- name: shared-data
emptyDir: {}
containers:
- name: rapp-man
image: rappman:latest
imagePullPolicy: Never
ports:
- name: http
containerPort: 9970
- name: https
containerPort: 9971
volumeMounts:
- name: shared-data
mountPath: /usr/share/nginx/html
dnsPolicy: Default