Skip to content

Instantly share code, notes, and snippets.

@jbw976
Last active December 31, 2020 19:19
Show Gist options
  • Save jbw976/2d13e79147c2aae564c61a827389de57 to your computer and use it in GitHub Desktop.
Save jbw976/2d13e79147c2aae564c61a827389de57 to your computer and use it in GitHub Desktop.
provider-helm pods and logs
> kcs get pod
NAME READY STATUS RESTARTS AGE
crossplane-provider-aws-40325541e89d-6bfdf88f6b-ngqvb 1/1 Running 0 15m
crossplane-provider-azure-7fbd303e7537-9fd67cc4-tzbzt 1/1 Running 0 14m
crossplane-provider-gcp-62a055cd4c08-559b855d99-ptgpx 1/1 Running 0 15m
crossplane-provider-helm-4b3c12d3669a-7c46b69d8-mzdww 1/1 Running 0 14m
jared@Jareds-MacBook-Pro ~/dev/go/src/github.com/upbound/platform-ref-multi-k8s (conn-fixes)
> kcs logs crossplane-provider-helm-4b3c12d3669a-7c46b69d8-mzdww
I1231 19:01:44.213415 1 request.go:621] Throttling request took 1.016180493s, request: GET:https://tenant-kubernetes.cc-06ba59c2-925d-484f-832a-404ff9130c34-system:6443/apis/database.azure.crossplane.io/v1alpha3?timeout=32s
E1231 19:10:31.362141 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:31.514596 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:32.362300 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:32.561952 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:32.914055 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:33.061822 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:33.762317 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:33.961883 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:34.663220 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:34.853338 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:35.212881 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:35.413000 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:35.984968 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:36.161910 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:42.220940 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:42.575416 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:42.672704 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
2020/12/31 19:10:47 info: skipping unknown hook: "crd-install"
2020/12/31 19:10:47 info: skipping unknown hook: "crd-install"
2020/12/31 19:10:47 info: skipping unknown hook: "crd-install"
2020/12/31 19:10:47 info: skipping unknown hook: "crd-install"
2020/12/31 19:10:47 info: skipping unknown hook: "crd-install"
2020/12/31 19:10:47 info: skipping unknown hook: "crd-install"
2020/12/31 19:10:47 info: skipping unknown hook: "crd-install"
E1231 19:10:49.562709 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:49.714924 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:10:59.863708 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:00.013455 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:05.663366 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:05.714876 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:05.971730 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:06.115742 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:12.062094 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:12.114497 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:12.362441 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:12.414456 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:17.113574 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:17.361817 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:17.662046 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:17.861930 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:23.462510 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:23.662052 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:23.962004 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:24.062540 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:29.761969 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:29.862037 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:30.162507 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:30.314880 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:34.878874 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:35.014023 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:35.226943 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:35.314418 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:40.220190 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:40.316438 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:40.613536 1 memcache.go:206] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1231 19:11:40.813632 1 memcache.go:111] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
> kcs get pod crossplane-provider-helm-4b3c12d3669a-7c46b69d8-mzdww -o yaml
apiVersion: v1
kind: Pod
metadata:
annotations:
actual.vk/replicated-service-account.name: crossplane-provider-helm-4b3c12d3669a
enforceSandboxedContainerMutator: sandboxed
kubernetes.io/limit-ranger: 'LimitRanger plugin set: cpu, ephemeral-storage, memory
request for container provider-helm; cpu, ephemeral-storage, memory limit for
container provider-helm'
kubernetes.io/psp: gce.privileged
creationTimestamp: "2020-12-31T19:01:39Z"
generateName: crossplane-provider-helm-4b3c12d3669a-7c46b69d8-
labels:
pkg.crossplane.io/revision: crossplane-provider-helm-4b3c12d3669a
pod-template-hash: 7c46b69d8
managedFields:
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:status:
f:conditions:
k:{"type":"ContainersReady"}:
.: {}
f:lastProbeTime: {}
f:type: {}
k:{"type":"Initialized"}:
.: {}
f:lastProbeTime: {}
f:lastTransitionTime: {}
f:status: {}
f:type: {}
k:{"type":"Ready"}:
.: {}
f:lastProbeTime: {}
f:type: {}
f:hostIP: {}
f:startTime: {}
manager: kubelet
operation: Update
time: "2020-12-31T19:01:42Z"
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:actual.vk/replicated-service-account.name: {}
f:enforceSandboxedContainerMutator: {}
f:kubernetes.io/limit-ranger: {}
f:kubernetes.io/psp: {}
f:generateName: {}
f:labels:
.: {}
f:actual.vk/namespace: {}
f:actual.vk/node-name: {}
f:pkg.crossplane.io/revision: {}
f:pod-template-hash: {}
f:spec:
f:affinity:
.: {}
f:nodeAffinity:
.: {}
f:requiredDuringSchedulingIgnoredDuringExecution:
.: {}
f:nodeSelectorTerms: {}
f:automountServiceAccountToken: {}
f:containers:
k:{"name":"provider-helm"}:
.: {}
f:env:
.: {}
k:{"name":"KUBERNETES_PORT"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"KUBERNETES_PORT_443_TCP"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"KUBERNETES_PORT_443_TCP_ADDR"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"KUBERNETES_PORT_443_TCP_PORT"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"KUBERNETES_PORT_443_TCP_PROTO"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"KUBERNETES_SERVICE_HOST"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"KUBERNETES_SERVICE_PORT"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"KUBERNETES_SERVICE_PORT_HTTPS"}:
.: {}
f:name: {}
f:value: {}
f:image: {}
f:imagePullPolicy: {}
f:name: {}
f:resources:
.: {}
f:limits:
.: {}
f:cpu: {}
f:ephemeral-storage: {}
f:memory: {}
f:requests:
.: {}
f:cpu: {}
f:ephemeral-storage: {}
f:memory: {}
f:securityContext:
.: {}
f:allowPrivilegeEscalation: {}
f:privileged: {}
f:runAsGroup: {}
f:runAsNonRoot: {}
f:runAsUser: {}
f:terminationMessagePath: {}
f:terminationMessagePolicy: {}
f:volumeMounts:
.: {}
k:{"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}:
.: {}
f:mountPath: {}
f:name: {}
f:readOnly: {}
f:dnsPolicy: {}
f:enableServiceLinks: {}
f:nodeSelector:
.: {}
f:sandbox.gke.io/runtime: {}
f:priority: {}
f:priorityClassName: {}
f:restartPolicy: {}
f:runtimeClassName: {}
f:schedulerName: {}
f:securityContext:
.: {}
f:runAsGroup: {}
f:runAsNonRoot: {}
f:runAsUser: {}
f:serviceAccount: {}
f:serviceAccountName: {}
f:terminationGracePeriodSeconds: {}
f:tolerations: {}
f:volumes:
.: {}
k:{"name":"crossplane-provider-helm-4b3c12d3669a-token-scmmq"}:
.: {}
f:name: {}
f:secret:
.: {}
f:defaultMode: {}
f:secretName: {}
f:status:
f:conditions:
.: {}
k:{"type":"ContainersReady"}:
f:lastTransitionTime: {}
f:status: {}
k:{"type":"PodScheduled"}:
.: {}
f:lastProbeTime: {}
f:lastTransitionTime: {}
f:status: {}
f:type: {}
k:{"type":"Ready"}:
f:lastTransitionTime: {}
f:status: {}
f:containerStatuses: {}
f:phase: {}
f:podIP: {}
f:podIPs:
.: {}
k:{"ip":"10.24.3.101"}:
.: {}
f:ip: {}
f:qosClass: {}
manager: virtual-kubelet
operation: Update
time: "2020-12-31T19:01:42Z"
name: crossplane-provider-helm-4b3c12d3669a-7c46b69d8-mzdww
namespace: crossplane-system
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: crossplane-provider-helm-4b3c12d3669a-7c46b69d8
uid: 6f740aae-c7db-432e-ab62-9c3f7b9fafca
resourceVersion: "41506876"
selfLink: /api/v1/namespaces/crossplane-system/pods/crossplane-provider-helm-4b3c12d3669a-7c46b69d8-mzdww
uid: f2ca3751-3b51-4f83-9c85-12c67d8d6bee
spec:
containers:
- image: crossplane/provider-helm-controller:v0.5.0
imagePullPolicy: IfNotPresent
name: provider-helm
resources: {}
securityContext:
allowPrivilegeEscalation: false
privileged: false
runAsGroup: 2000
runAsNonRoot: true
runAsUser: 2000
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: crossplane-provider-helm-4b3c12d3669a-token-scmmq
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: hosted-node
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsGroup: 2000
runAsNonRoot: true
runAsUser: 2000
serviceAccount: crossplane-provider-helm-4b3c12d3669a
serviceAccountName: crossplane-provider-helm-4b3c12d3669a
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: crossplane-provider-helm-4b3c12d3669a-token-scmmq
secret:
defaultMode: 420
secretName: crossplane-provider-helm-4b3c12d3669a-token-scmmq
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2020-12-31T19:01:40Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2020-12-31T19:01:42Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2020-12-31T19:01:42Z"
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2020-12-31T19:01:40Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: containerd://fd5a65415fdf2880fad229b75334f0fceffe6d19e07164f4be32ae1706f0fe9b
image: docker.io/crossplane/provider-helm-controller:v0.5.0
imageID: docker.io/crossplane/provider-helm-controller@sha256:bbd452d689e85c8b8632fb7b1bba30488bd6e7f233d65e4dc341384a1552dd92
lastState: {}
name: provider-helm
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2020-12-31T19:01:42Z"
hostIP: 10.22.107.202
phase: Running
podIP: 10.24.3.101
podIPs:
- ip: 10.24.3.101
qosClass: Burstable
startTime: "2020-12-31T19:01:40Z"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment