Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# this is multi stage
# this is multi stages
FROM openjdk:11 as base
WORKDIR /app
COPY . .
Expand Down
4 changes: 2 additions & 2 deletions kube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ metadata:
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 2
replicas: 3
selector:
matchLabels:
app.kubernetes.io/name: myapp
Expand All @@ -46,7 +46,7 @@ spec:
- name: registry-secret
containers:
- name: myapp
image: imagename
image: ngnix:1.0
command: ["/bin/sh"]
args: ["-c","sh /usr/local/tomcat/bin/startup.sh;while true; do echo hello; sleep 10;done"]
imagePullPolicy: IfNotPresent
Expand Down