GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update deploy-kube.yml · raza08/samplejavaapp@cb1471c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • deploy
    • deploy-kube.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deploy/deploy-kube.yml‎

Copy file name to clipboardExpand all lines: deploy/deploy-kube.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
echo "No app service found"
1515
fi
1616
- name: deploy app
17-
command: kubectl create deploy myapp --image=lerndevops/samplejavaapp:{{ build }}
17+
shell: kubectl create deploy myapp --image=lerndevops/samplejavaapp:{{ build }}
1818
- name: increase replicas
19-
command: kubectl scale deploy myapp --replicas=2
19+
shell: kubectl scale deploy myapp --replicas=2
2020
- name: deploy service
21-
command: kubectl expose deploy myapp --name myapp-svc --port 8080 --type NodePort
21+
shell: kubectl expose deploy myapp --name myapp-svc --port 8080 --type NodePort

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.