Edit.
This commit is contained in:
23
deploy/second-app/1-deployment.yaml
Normal file
23
deploy/second-app/1-deployment.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nginx
|
||||
namespace: bar
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: aputra/nginx:v0.1.3
|
||||
ports:
|
||||
- containerPort: 80
|
||||
Reference in New Issue
Block a user