Skip to content

Commit

Permalink
k8s and docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
maxzhang committed Dec 17, 2019
1 parent ace343f commit c8b91ae
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Examples/SimpleWeb/scripts/k8s-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
spec:
containers:
- name: yoyogodemo
image: yoyogodemo-dev:v0.0.2
imagePullPolicy: Never #just for minikube,do not use this in production!!!
image: maxzhang1985/yoyogo:version-1.4.6
imagePullPolicy: Always #Always 总是拉取镜像 IfNotPresent 本地有则使用本地镜像,不拉取Never 只使用本地镜像,从不拉取,即使本地没有
ports:
- containerPort: 8080
livenessProbe:
Expand All @@ -25,3 +25,6 @@ spec:
port: 8080
initialDelaySeconds: 15
timeoutSeconds: 1
env:
- name: PROFILE
value: "test12"

0 comments on commit c8b91ae

Please sign in to comment.