Create deployment.yaml
This commit is contained in:
committed by
GitHub
parent
7f9d99746e
commit
3425baf62b
22
jenkins-demo/deployment.yaml
Normal file
22
jenkins-demo/deployment.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: solar-system
|
||||
name: solar-system
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: solar-system
|
||||
strategy: {}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: solar-system
|
||||
spec:
|
||||
containers:
|
||||
- image: siddharth67/solar-system:v3
|
||||
name: solar-system
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
Reference in New Issue
Block a user