com.github.containersolutions.operator.sample.ingress.yaml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webserver-sample Show documentation
Show all versions of webserver-sample Show documentation
Provisions an nginx Webserver based on a CRD
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.7.9
ports:
- containerPort: 80