Skip to content

Instantly share code, notes, and snippets.

@pkaramol
Last active January 28, 2020 22:08
Show Gist options
  • Save pkaramol/ae51893333f80750891c664088a34cec to your computer and use it in GitHub Desktop.
Save pkaramol/ae51893333f80750891c664088a34cec to your computer and use it in GitHub Desktop.
▶ k describe pod default-1qhg2
Name: default-1qhg2
Namespace: jenkins
Priority: 0
PriorityClassName: <none>
Node: gke-kos-k8s-sre-nodepool1-0n32/10.14.0.36
Start Time: Tue, 28 Jan 2020 23:32:58 +0200
Labels: jenkins=slave
jenkins/jenkins-kos-jenkins-slave=true
security.istio.io/tlsMode=istio
Annotations: sidecar.istio.io/status:
{"version":"612b89ee7fc4d43b232ad46b2bcfabf2aa465234c90d6f4a9ed05744657f3c8e","initContainers":["istio-init"],"containers":["istio-proxy"]...
Status: Terminating (lasts <invalid>)
Termination Grace Period: 30s
IP: 10.15.2.18
Init Containers:
istio-init:
Container ID: docker://2ea96421d64a74015676ec4b205506799b6f100784f5fc288c5e607b67117618
Image: docker.io/istio/proxyv2:1.4.0
Image ID: docker-pullable://istio/proxyv2@sha256:9ba9de87d660767a2147f786040a8fe29ebb3b335742d3c95257ab82a33b8415
Port: <none>
Host Port: <none>
Command:
istio-iptables
-p
15001
-z
15006
-u
1337
-m
REDIRECT
-i
*
-x
-b
*
-d
15020
State: Terminated
Reason: Completed
Exit Code: 0
Started: Tue, 28 Jan 2020 23:32:59 +0200
Finished: Tue, 28 Jan 2020 23:33:00 +0200
Ready: True
Restart Count: 0
Limits:
cpu: 100m
memory: 50Mi
Requests:
cpu: 10m
memory: 10Mi
Environment: <none>
Mounts: <none>
Containers:
jnlp:
Container ID: docker://393f7120798830337975a219d476f554275b333d9211d4498a96c3d16cd57070
Image: jenkins/jnlp-slave:3.27-1
Image ID: docker-pullable://jenkins/jnlp-slave@sha256:a5f42dab13d74c079a653408e45cda3ca2bc3483200bbaa44b88fae486ad7e05
Port: <none>
Host Port: <none>
Args:
4cd99efa61bdf38acc1594adb56f6220bff9f71e2f764f252a64564e353d78bb
default-1qhg2
State: Terminated
Reason: Error
Exit Code: 255
Started: Tue, 28 Jan 2020 23:33:00 +0200
Finished: Tue, 28 Jan 2020 23:33:01 +0200
Ready: False
Restart Count: 0
Limits:
cpu: 4
memory: 8Gi
Requests:
cpu: 500m
memory: 1Gi
Environment:
JENKINS_SECRET: 4cd99efa61bdf38acc1594adb56f6220bff9f71e2f764f252a64564e353d78bb
JENKINS_TUNNEL: jenkins-kos-agent:50000
JENKINS_AGENT_NAME: default-1qhg2
JENKINS_NAME: default-1qhg2
JENKINS_AGENT_WORKDIR: /home/jenkins/agent
JENKINS_URL: http://jenkins-kos.jenkins.svc.cluster.local:8080/jenkins
Mounts:
/home/jenkins/agent from workspace-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-s6q9v (ro)
istio-proxy:
Container ID: docker://b0a941ac96a503504e2e00cd465e5511250a46f38436815403e519fb40074078
Image: docker.io/istio/proxyv2:1.4.0
Image ID: docker-pullable://istio/proxyv2@sha256:9ba9de87d660767a2147f786040a8fe29ebb3b335742d3c95257ab82a33b8415
Port: 15090/TCP
Host Port: 0/TCP
Args:
proxy
sidecar
--domain
$(POD_NAMESPACE).svc.cluster.local
--configPath
/etc/istio/proxy
--binaryPath
/usr/local/bin/envoy
--serviceCluster
default-1qhg2.jenkins
--drainDuration
45s
--parentShutdownDuration
1m0s
--discoveryAddress
istio-pilot.istio-system:15010
--zipkinAddress
zipkin.istio-system:9411
--dnsRefreshRate
300s
--connectTimeout
10s
--proxyAdminPort
15000
--concurrency
2
--controlPlaneAuthPolicy
NONE
--statusPort
15020
--applicationPorts
State: Running
Started: Tue, 28 Jan 2020 23:33:00 +0200
Ready: True
Restart Count: 0
Limits:
cpu: 2
memory: 1Gi
Requests:
cpu: 100m
memory: 128Mi
Readiness: http-get http://:15020/healthz/ready delay=1s timeout=1s period=2s #success=1 #failure=30
Environment:
POD_NAME: default-1qhg2 (v1:metadata.name)
ISTIO_META_POD_PORTS: [
]
ISTIO_META_CLUSTER_ID: Kubernetes
POD_NAMESPACE: jenkins (v1:metadata.namespace)
INSTANCE_IP: (v1:status.podIP)
SERVICE_ACCOUNT: (v1:spec.serviceAccountName)
ISTIO_META_POD_NAME: default-1qhg2 (v1:metadata.name)
ISTIO_META_CONFIG_NAMESPACE: jenkins (v1:metadata.namespace)
SDS_ENABLED: false
ISTIO_META_INTERCEPTION_MODE: REDIRECT
ISTIO_META_INCLUDE_INBOUND_PORTS:
ISTIO_METAJSON_LABELS: {"jenkins":"slave","jenkins/jenkins-kos-jenkins-slave":"true"}
ISTIO_META_WORKLOAD_NAME: default-1qhg2
ISTIO_META_OWNER: kubernetes://apis/v1/namespaces/jenkins/pods/default-1qhg2
Mounts:
/etc/certs/ from istio-certs (ro)
/etc/istio/proxy from istio-envoy (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-s6q9v (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
workspace-volume:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
default-token-s6q9v:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-s6q9v
Optional: false
istio-envoy:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium: Memory
SizeLimit: <unset>
istio-certs:
Type: Secret (a volume populated by a Secret)
SecretName: istio.default
Optional: true
QoS Class: Burstable
Node-Selectors: beta.kubernetes.io/os=linux
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 12s default-scheduler Successfully assigned jenkins/default-1qhg2 to gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32
Normal Pulled 11s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Container image "docker.io/istio/proxyv2:1.4.0" already present on machine
Normal Created 11s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Created container
Normal Started 11s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Started container
Normal Pulled 10s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Container image "jenkins/jnlp-slave:3.27-1" already present on machine
Normal Created 10s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Created container
Normal Started 10s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Started container
Normal Pulled 10s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Container image "docker.io/istio/proxyv2:1.4.0" already present on machine
Normal Created 10s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Created container
Normal Started 10s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Started container
Warning Unhealthy 0s kubelet, gke-kos-k8s-sre-nodepool1-b5dc4a9f-0n32 Readiness probe failed: Get http://10.15.2.18:15020/healthz/ready: dial tcp 10.15.2.18:15020: connect: connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment