This commit is contained in:
parent
e49baa2a5b
commit
e596578cdf
20
manifests/deployments/hw-hw.yaml
Normal file
20
manifests/deployments/hw-hw.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: helloworld
|
||||||
|
namespace: vdk2ch
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: helloworld
|
||||||
|
replicas: 1 # tells deployment to run 1 pods matching the template
|
||||||
|
template: # create pods using pod definition in this template
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: helloworld
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: helloworld
|
||||||
|
image: karthequian/helloworld:latest
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
Loading…
Reference in New Issue
Block a user