io.javaoperatorsdk.operator.sample.deployment.yaml Maven / Gradle / Ivy
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: ""
spec:
selector:
matchLabels:
app: ""
replicas: 1
template:
metadata:
labels:
app: ""
spec:
containers:
- name: nginx
image: nginx:1.17.0
ports:
- containerPort: 80
volumeMounts:
- name: html-volume
mountPath: /usr/share/nginx/html
volumes:
- name: html-volume
configMap:
name: ""