Skip to content

Commit

Permalink
chore: update spec container
Browse files Browse the repository at this point in the history
  • Loading branch information
qloog authored Mar 4, 2022
1 parent 2346773 commit 60dd20b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions deploy/k8s/go-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,19 @@ spec:
spec: # Pod里容器相关的定义
containers:
- name: go-app-container
image: 1024casts/go-app:v1.0.0
image: go-eagle/go-app:v1.0.0
resources:
limits:
memory: "128Mi"
cpu: "100m" # 0.1核,1000m = 1核心
ports:
- containerPort: 80
- name: server
image: "kasunindrasiri/grpc-productinfo-server"
ports:
- containerPort: 50051
- containerPort: 9090
readinessProbe:
exec:
command: [ "/bin/grpc_health_probe", "-addr=:9090" ]
initialDelaySeconds: 5
livenessProbe:
exec:
command: [ "/bin/grpc_health_probe", "-addr=:9090" ]
initialDelaySeconds: 10
initialDelaySeconds: 10

0 comments on commit 60dd20b

Please sign in to comment.