root @ca /mnt/r3p/helm-repo/charts$ kubectl describe replicasets.apps ergo -n demo-project
Name: ergo-75b7dcd67
Namespace: demo-project
Selector: app=ergo,pod-template-hash=75b7dcd67
Labels: app=ergo
pod-template-hash=75b7dcd67
Annotations: deployment.kubernetes.io/desired-replicas: 1
deployment.kubernetes.io/max-replicas: 2
deployment.kubernetes.io/revision: 1
meta.helm.sh/release-name: ergo
meta.helm.sh/release-namespace: demo-project
Controlled By: Deployment/ergo
Replicas: 0 current / 1 desired
Pods Status: 0 Running / 0 Waiting / 0 Succeeded / 0 Failed
Pod Template:
Labels: app=ergo
pod-template-hash=75b7dcd67
Containers:
ergo:
Image: *.****.cn:8443/ks-dev/ergo:master-5
Port: 5005/TCP
Host Port: 0/TCP
Args:
gunicorn
--config
gunicorn-cfg.py
run:app
Limits:
cpu: 100m
memory: 256M
Requests:
cpu: 50m
memory: 64M
Liveness: http-get http://:5005/ delay=30s timeout=30s period=10s #success=1 #failure=3
Environment: <none>
Mounts: <none>
Volumes: <none>
Conditions:
Type Status Reason
---- ------ ------
ReplicaFailure True FailedCreate
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedCreate 8s (x12 over 18s) replicaset-controller Error creating: Internal error occurred: failed calling webhook "sidecar-injector.istio.io": Post https://istio-sidecar-injector.istio-system.svc:443/inject?timeout=30s: service "istio-sidecar-injector" not found
没有正常删除istio,现在deployment无法生成pod了。