Skip to content

Instantly share code, notes, and snippets.

@DavadDi
Created February 5, 2019 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavadDi/3f515a972f33225cd5828ec47e31efe7 to your computer and use it in GitHub Desktop.
Save DavadDi/3f515a972f33225cd5828ec47e31efe7 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ""
sidecar.istio.io/inject: "false"
creationTimestamp: 2019-01-15T08:24:23Z
generateName: istio-pilot-f9d78b7b9-
labels:
app: pilot
istio: pilot
pod-template-hash: f9d78b7b9
name: istio-pilot-f9d78b7b9-fmhfb
namespace: istio-system
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: istio-pilot-f9d78b7b9
uid: f6875efc-189e-11e9-ab53-00163e0c1552
resourceVersion: "21683697"
selfLink: /api/v1/namespaces/istio-system/pods/istio-pilot-f9d78b7b9-fmhfb
uid: f689e557-189e-11e9-ab53-00163e0c1552
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: beta.kubernetes.io/arch
operator: In
values:
- amd64
weight: 2
- preference:
matchExpressions:
- key: beta.kubernetes.io/arch
operator: In
values:
- ppc64le
weight: 2
- preference:
matchExpressions:
- key: beta.kubernetes.io/arch
operator: In
values:
- s390x
weight: 2
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: beta.kubernetes.io/arch
operator: In
values:
- amd64
- ppc64le
- s390x
containers:
- args:
- discovery
env:
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: PILOT_CACHE_SQUASH
value: "5"
- name: GODEBUG
value: gctrace=2
- name: PILOT_PUSH_THROTTLE_COUNT
value: "100"
- name: PILOT_TRACE_SAMPLING
value: "100.0"
image: docker.io/istio/pilot:1.0.5
imagePullPolicy: IfNotPresent
name: discovery
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 15010
protocol: TCP
readinessProbe:
failureThreshold: 3
httpGet:
path: /ready
port: 8080
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 5
resources:
requests:
cpu: 500m
memory: 2Gi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/istio/config
name: config-volume
- mountPath: /etc/certs
name: istio-certs
readOnly: true
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: istio-pilot-service-account-token-7zbdt
readOnly: true
- args:
- proxy
- --serviceCluster
- istio-pilot
- --templateFile
- /etc/istio/proxy/envoy_pilot.yaml.tmpl
- --controlPlaneAuthPolicy
- NONE
env:
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: INSTANCE_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
image: docker.io/istio/proxyv2:1.0.5
imagePullPolicy: IfNotPresent
name: istio-proxy
ports:
- containerPort: 15003
protocol: TCP
- containerPort: 15005
protocol: TCP
- containerPort: 15007
protocol: TCP
- containerPort: 15011
protocol: TCP
resources:
requests:
cpu: 10m
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/certs
name: istio-certs
readOnly: true
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: istio-pilot-service-account-token-7zbdt
readOnly: true
dnsPolicy: ClusterFirst
nodeName: node07
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: istio-pilot-service-account
serviceAccountName: istio-pilot-service-account
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 10
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 10
volumes:
- configMap:
defaultMode: 420
name: istio
name: config-volume
- name: istio-certs
secret:
defaultMode: 420
optional: true
secretName: istio.istio-pilot-service-account
- name: istio-pilot-service-account-token-7zbdt
secret:
defaultMode: 420
secretName: istio-pilot-service-account-token-7zbdt
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-01-15T08:24:23Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-01-15T08:24:36Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: 2019-01-15T08:24:36Z
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-01-15T08:24:23Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://e55a18c251d0dc18715c374145fe283d268270289631f40201fe55dad5475092
image: istio/pilot:1.0.5
imageID: docker-pullable://istio/pilot@sha256:4996a7e0779a447fbb65f1a5ed6a0c0bfd145da001d2a504589f606e90e30b63
lastState: {}
name: discovery
ready: true
restartCount: 0
state:
running:
startedAt: 2019-01-15T08:24:24Z
- containerID: docker://fd3b9fc6673c62f2b91b7a063c7738e10fd67a256854f19e05baa62823c9dd64
image: istio/proxyv2:1.0.5
imageID: docker-pullable://istio/proxyv2@sha256:8b7d549100638a3697886e549c149fb588800861de8c83605557a9b4b20343d4
lastState: {}
name: istio-proxy
ready: true
restartCount: 0
state:
running:
startedAt: 2019-01-15T08:24:24Z
hostIP: 172.16.56.84
phase: Running
podIP: 10.128.69.2
qosClass: Burstable
startTime: 2019-01-15T08:24:23Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment