Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 8158e82

Browse files
authored
Update kubernetes-valaxy-deployment.yml
1 parent 489a5f8 commit 8158e82

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
- name: Create pods using deployment
33
hosts: kubernetes
4-
become: true
5-
user: root
4+
become: true
5+
user: root
66

7-
tasks:
8-
- name: create a deployment
7+
tasks:
8+
- name: create a deployment
99
command: kubectl apply -f valaxy-deploy.yml
1010

11-
- name: update deployment with new pods if image updated in docker hub
12-
command: kubectl rollout restart deployment.v1.apps/valaxy-deployment
11+
- name: update deployment with new pods if image updated in docker hub
12+
command: kubectl rollout restart deployment.v1.apps/valaxy-deployment

0 commit comments

Comments
 (0)