deploybot test
This commit is contained in:
26
helloworld-app/base/deployment.yaml
Normal file
26
helloworld-app/base/deployment.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx-container
|
||||
image: nginx:latest
|
||||
volumeMounts:
|
||||
- name: web-content-vol
|
||||
mountPath: /usr/share/nginx/html
|
||||
volumes:
|
||||
- name: web-content-vol
|
||||
configMap:
|
||||
name: web-content
|
||||
Reference in New Issue
Block a user