kontena / pharos-cluster

Pharos - The Kubernetes Distribution
https://k8spharos.dev/
Apache License 2.0
312 stars 40 forks source link

Pharos::Kube.apply_stack is slow #227

Closed SpComb closed 6 years ago

SpComb commented 6 years ago

Timing it manually, each stack takes roughly ~10s to apply.... I think most of that is in the prune_stack, and all the get_entities requests.

Each pharos-cluster up does 8 stack applies (weave + heapster/metrics-server + 5 addons)... if a no-op pharos-cluster up with #111 for parallel SSH nodes takes about 90s, then the majority of that time is spent pruning stacks.


Request log with RESTCLIENT_LOG=stdout:

==> Configure network @ 167.99.36.141
RestClient.get "https://167.99.36.141:6443/api/v1/namespaces/kube-system/secrets/weave-passwd", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 381 bytes
    [167.99.36.141] Configuring overlay network ...
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1beta1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 776 bytes
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/weave-net", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 644 bytes
RestClient.put "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/weave-net", 643 byte(s) length, "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"643", "Content-Type"=>"application/json", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 644 bytes
RestClient.get "https://167.99.36.141:6443/api/v1/namespaces/kube-system/serviceaccounts/weave-net", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 480 bytes
RestClient.put "https://167.99.36.141:6443/api/v1/namespaces/kube-system/serviceaccounts/weave-net", "{\"kind\":\"ServiceAccount\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"weave-net\",\"namespace\":\"kube-system\",\"selfLink\":\"/api/v1/namespaces/kube-system/serviceaccounts/weave-net\",\"uid\":\"ffd5b63f-3d87-11e8-a904-ea1f4b7649b7\",\"resourceVersion\":\"1536\",\"creationTimestamp\":\"2018-04-11T12:58:15Z\",\"labels\":{\"name\":\"weave-net\",\"pharos.kontena.io/stack\":\"weave\"},\"annotations\":{\"pharos.kontena.io/stack-checksum\":\"34b577a2315e2a9c7b47b2cfadd6f433\"}},\"secrets\":[{\"name\":\"weave-net-token-wfdxv\"}]}", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"479", "Content-Type"=>"application/json", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 480 bytes
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1beta1/namespaces/kube-system/roles/weave-net", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 654 bytes
RestClient.put "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1beta1/namespaces/kube-system/roles/weave-net", 653 byte(s) length, "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"653", "Content-Type"=>"application/json", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 654 bytes
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1beta1/namespaces/kube-system/rolebindings/weave-net", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 660 bytes
RestClient.put "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1beta1/namespaces/kube-system/rolebindings/weave-net", 659 byte(s) length, "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"659", "Content-Type"=>"application/json", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 660 bytes
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/weave-net", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 632 bytes
RestClient.put "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/weave-net", 631 byte(s) length, "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"631", "Content-Type"=>"application/json", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 632 bytes
RestClient.get "https://167.99.36.141:6443/apis/extensions/v1beta1/namespaces/kube-system/daemonsets/weave-net", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 3392 bytes
RestClient.put "https://167.99.36.141:6443/apis/extensions/v1beta1/namespaces/kube-system/daemonsets/weave-net", 3005 byte(s) length, "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"3005", "Content-Type"=>"application/json", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 3392 bytes
RestClient.get "https://167.99.36.141:6443/apis/", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 3912 bytes
RestClient.get "https://167.99.36.141:6443/apis/apiregistration.k8s.io/v1beta1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 378 bytes
RestClient.get "https://167.99.36.141:6443/apis/apiregistration.k8s.io/v1beta1/apiservices?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 183 bytes
RestClient.get "https://167.99.36.141:6443/apis/extensions/v1beta1/daemonsets?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 3495 bytes
RestClient.get "https://167.99.36.141:6443/apis/extensions/v1beta1/deployments?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 159 bytes
RestClient.get "https://167.99.36.141:6443/apis/extensions/v1beta1/ingresses?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 154 bytes
RestClient.get "https://167.99.36.141:6443/apis/extensions/v1beta1/networkpolicies?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 166 bytes
RestClient.get "https://167.99.36.141:6443/apis/extensions/v1beta1/podsecuritypolicies?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 174 bytes
RestClient.get "https://167.99.36.141:6443/apis/extensions/v1beta1/replicasets?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 159 bytes
RestClient.get "https://167.99.36.141:6443/apis/apps/v1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 2016 bytes
RestClient.get "https://167.99.36.141:6443/apis/apps/v1/controllerrevisions?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 153 bytes
RestClient.get "https://167.99.36.141:6443/apis/apps/v1/daemonsets?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 3486 bytes
RestClient.get "https://167.99.36.141:6443/apis/apps/v1/deployments?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 137 bytes
RestClient.get "https://167.99.36.141:6443/apis/apps/v1/replicasets?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 137 bytes
RestClient.get "https://167.99.36.141:6443/apis/apps/v1/statefulsets?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 139 bytes
RestClient.get "https://167.99.36.141:6443/apis/events.k8s.io/v1beta1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 272 bytes
RestClient.get "https://167.99.36.141:6443/apis/events.k8s.io/v1beta1/events?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 155 bytes
RestClient.get "https://167.99.36.141:6443/apis/authentication.k8s.io/v1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 202 bytes
RestClient.get "https://167.99.36.141:6443/apis/authorization.k8s.io/v1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 591 bytes
RestClient.get "https://167.99.36.141:6443/apis/autoscaling/v1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 468 bytes
RestClient.get "https://167.99.36.141:6443/apis/autoscaling/v1/horizontalpodautoscalers?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 177 bytes
RestClient.get "https://167.99.36.141:6443/apis/batch/v1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 361 bytes
RestClient.get "https://167.99.36.141:6443/apis/batch/v1/jobs?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 125 bytes
RestClient.get "https://167.99.36.141:6443/apis/certificates.k8s.io/v1beta1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 594 bytes
RestClient.get "https://167.99.36.141:6443/apis/certificates.k8s.io/v1beta1/certificatesigningrequests?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 207 bytes
RestClient.get "https://167.99.36.141:6443/apis/networking.k8s.io/v1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 292 bytes
RestClient.get "https://167.99.36.141:6443/apis/networking.k8s.io/v1/networkpolicies?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 170 bytes
RestClient.get "https://167.99.36.141:6443/apis/policy/v1beta1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 431 bytes
RestClient.get "https://167.99.36.141:6443/apis/policy/v1beta1/poddisruptionbudgets?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 169 bytes
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 771 bytes
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1/clusterrolebindings?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 744 bytes
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1/clusterroles?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 749 bytes
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1/rolebindings?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 765 bytes
RestClient.get "https://167.99.36.141:6443/apis/rbac.authorization.k8s.io/v1/roles?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 752 bytes
RestClient.get "https://167.99.36.141:6443/apis/storage.k8s.io/v1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 284 bytes
RestClient.get "https://167.99.36.141:6443/apis/storage.k8s.io/v1/storageclasses?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 162 bytes
RestClient.get "https://167.99.36.141:6443/apis/admissionregistration.k8s.io/v1beta1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 519 bytes
RestClient.get "https://167.99.36.141:6443/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 231 bytes
RestClient.get "https://167.99.36.141:6443/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 235 bytes
RestClient.get "https://167.99.36.141:6443/apis/apiextensions.k8s.io/v1beta1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 453 bytes
RestClient.get "https://167.99.36.141:6443/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions?labelSelector=pharos.kontena.io%2Fstack%3Dweave", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 207 bytes
RestClient.get "https://167.99.36.141:6443/apis/metrics.k8s.io/v1beta1", "Accept"=>"*/*", "Accept-Encoding"=>"gzip, deflate", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.3p205"
# => 200 OK | application/json 292 bytes
kke commented 6 years ago

The labelSelector can do in queries, so it would be possible to just one big prune that does one query if all the phases and addons would return a list of stacks + checksums they applied?

Running the pruning in a background thread while the next step is already running does not seem to shave off very much from the total execution time.

==> Reading instructions ...
==> Sharpening tools ...
==> Starting to craft cluster ...
==> Validate hosts @ 192.168.100.100 192.168.100.101 192.168.100.102
==> Configure hosts @ 192.168.100.100 192.168.100.101 192.168.100.102
==> Configure kubelet @ 192.168.100.101 192.168.100.102
==> Configure master @ 192.168.100.100
==> Configure kube client @ 192.168.100.100
==> Configure DNS @ 192.168.100.100
==> Configure network @ 192.168.100.100
pruning started for 4f2c5d5868b2c7f39fe8e4b3d5ccd50c
pruning ended for 4f2c5d5868b2c7f39fe8e4b3d5ccd50c, took 0.4555
==> Configure metrics @ 192.168.100.100
pruning started for 188d95bbe1f098a2dd3cd99a754a2fdc
pruning ended for 188d95bbe1f098a2dd3cd99a754a2fdc, took 0.3148
pruning started for d4d36e14048141fdd32ab0da0d60d118
pruning ended for d4d36e14048141fdd32ab0da0d60d118, took 0.2916
==> Store cluster YAML @ 192.168.100.100
==> Configure bootstrap tokens @ 192.168.100.100
==> Join nodes @ 192.168.100.101 192.168.100.102
==> Label nodes @ 192.168.100.100 192.168.100.101 192.168.100.102
==> Configuring addons ...
==> Enabling addon ingress-nginx
pruning started for 533650c1533b14bf5545295133db8bce
pruning ended for 533650c1533b14bf5545295133db8bce, took 0.2929
==> Enabling addon host-upgrades
pruning started for 5bb109ab84690d0f158c2c56bfed98e1
pruning ended for 5bb109ab84690d0f158c2c56bfed98e1, took 0.2904
==> Disabling addon cert-manager
pruning started for -
pruning ended for -, took 0.2983
==> Disabling addon kured
pruning started for -
pruning ended for -, took 0.3333
==> Disabling addon kubernetes-dashboard
pruning started for -
pruning ended for -, took 0.3068
==> Cluster has been crafted! (took 16 seconds)

Same with background pruning:

==> Reading instructions ...
==> Sharpening tools ...
==> Starting to craft cluster ...
==> Validate hosts @ 192.168.100.100 192.168.100.101 192.168.100.102
==> Configure hosts @ 192.168.100.100 192.168.100.101 192.168.100.102
==> Configure kubelet @ 192.168.100.101 192.168.100.102
==> Configure master @ 192.168.100.100
==> Configure kube client @ 192.168.100.100
==> Configure DNS @ 192.168.100.100
==> Configure network @ 192.168.100.100
==> Configure metrics @ 192.168.100.100
pruning started for 25fba6be91a38b1eb271a586f39ef684
pruning started for 759db0d5eca26a10a2e4e6a2af989c22
pruning ended for 25fba6be91a38b1eb271a586f39ef684, took 4.8879
==> Store cluster YAML @ 192.168.100.100
pruning started for ebbcbaccf55cacb29d5590f4851ed492
==> Configure bootstrap tokens @ 192.168.100.100
pruning ended for 759db0d5eca26a10a2e4e6a2af989c22, took 2.9185
==> Join nodes @ 192.168.100.101 192.168.100.102
==> Label nodes @ 192.168.100.100 192.168.100.101 192.168.100.102
==> Configuring addons ...
==> Enabling addon ingress-nginx
pruning ended for ebbcbaccf55cacb29d5590f4851ed492, took 0.6649
==> Enabling addon host-upgrades
pruning started for c30184507c9a3865305caef88e191d72
==> Disabling addon kured
pruning started for -
pruning started for 693b0ea33c745fb0e25c104fd6ff0bf9
pruning ended for c30184507c9a3865305caef88e191d72, took 0.6068
pruning ended for 693b0ea33c745fb0e25c104fd6ff0bf9, took 0.5827
pruning ended for -, took 0.5962
==> Disabling addon kubernetes-dashboard
pruning started for -
pruning ended for -, took 0.3172
==> Disabling addon cert-manager
pruning started for -
pruning ended for -, took 0.3221
==> Cluster has been crafted! (took 15 seconds)
SpComb commented 6 years ago

pruning started for 188d95bbe1f098a2dd3cd99a754a2fdc pruning ended for 188d95bbe1f098a2dd3cd99a754a2fdc, took 0.3148

This seems way off, each stack prune takes more like ~5000ms for me, never ~300ms

kke commented 6 years ago

Done with:

if ENV['FUTU']
  Concurrent::Future.execute{ prune(checksum) }
else
  prune(checksum)
end
SpComb commented 6 years ago

The timing is probably highly related to running with a local vagrant master vs a remote master in the cloud... it looks like a one-off GET request takes a minimum of ~300ms for me, so with something like ~50 GET requests for each stack, that would be 15s... I suppose the kubeclient must be doing using some keepalive connection to avoid the TCP/HTTPS overhead for each query, at least.

$ time curl -sk https://167.99.36.141:6443/healthz
ok
real    0m0.388s
user    0m0.109s
sys 0m0.025s
SpComb commented 6 years ago

Doing some profiling with a minimal bin/stack-apply, for a single Pharos::Kube::Stack#apply applying 5 resources and pruning 51 types, there are:

This is highly inefficient, with redundant (XXX: across multiple stack applies?) API discovery requests and a complete TCP/SSL roundtrip for every API request. Based on the following graph profile, I think this is spending about 70% of the total script execution time on establishing new HTTP connections, and only 23% waiting on actual HTTP requests...

--------------------------------------------------------------------------------
                     12.288      0.002      0.000     12.285            80/80     RestClient::Request#transmit
  93.56%   0.02%     12.288      0.002      0.000     12.285               80     Net::HTTP#start
                      9.203      0.001      0.000      9.202            80/80     Net::HTTP#do_start
                      3.018      0.001      0.000      3.017            80/80     RestClient::Request#net_http_do_request
                      0.040      0.001      0.000      0.039            80/80     RestClient::Request#process_result
                      0.023      0.001      0.000      0.023            80/80     Net::HTTP#do_finish
                      0.001      0.000      0.000      0.000            80/80     RestClient::Request#log_response
                      0.000      0.000      0.000      0.000          80/8597     Kernel#block_given?

Additionally, it looks like there's a Timeout.timeout thread for each request (?)... plus some weird thread only calling Enumerator#each => <Module::RestClient::Utils>#_cgi_parseparam, which I can't track down in the source code?

D, [2018-07-06 09:45:58.751960791#1] DEBUG -- API: Applying resource: ClusterRole/host-upgrades
D, [2018-07-06 09:45:59.245488270#1] DEBUG -- API: Applying resource: ServiceAccount/host-upgrades
D, [2018-07-06 09:45:59.745112926#1] DEBUG -- API: Applying resource: ClusterRoleBinding/host-upgrades
D, [2018-07-06 09:46:00.064082923#1] DEBUG -- API: Applying resource: ConfigMap/host-upgrades
D, [2018-07-06 09:46:00.394805013#1] DEBUG -- API: Applying resource: DaemonSet/host-upgrades
D, [2018-07-06 09:46:01.202010501#1] DEBUG -- API: Pruning APIService...
D, [2018-07-06 09:46:01.365329116#1] DEBUG -- API: Pruning DaemonSet...
D, [2018-07-06 09:46:01.538289109#1] DEBUG -- API: Pruning Deployment...
D, [2018-07-06 09:46:01.706064851#1] DEBUG -- API: Pruning Ingress...
D, [2018-07-06 09:46:01.857240182#1] DEBUG -- API: Pruning NetworkPolicy...
D, [2018-07-06 09:46:02.037169004#1] DEBUG -- API: Pruning PodSecurityPolicy...
D, [2018-07-06 09:46:02.199113418#1] DEBUG -- API: Pruning ReplicaSet...
D, [2018-07-06 09:46:02.535700848#1] DEBUG -- API: Pruning ControllerRevision...
D, [2018-07-06 09:46:02.694246244#1] DEBUG -- API: Pruning DaemonSet...
D, [2018-07-06 09:46:02.929923137#1] DEBUG -- API: Pruning Deployment...
D, [2018-07-06 09:46:03.095495857#1] DEBUG -- API: Pruning ReplicaSet...
D, [2018-07-06 09:46:03.266591168#1] DEBUG -- API: Pruning StatefulSet...
D, [2018-07-06 09:46:03.558378612#1] DEBUG -- API: Pruning Event...
D, [2018-07-06 09:46:04.202053419#1] DEBUG -- API: Pruning HorizontalPodAutoscaler...
D, [2018-07-06 09:46:04.507949232#1] DEBUG -- API: Pruning Job...
D, [2018-07-06 09:46:04.819020490#1] DEBUG -- API: Pruning CertificateSigningRequest...
D, [2018-07-06 09:46:05.135128858#1] DEBUG -- API: Pruning NetworkPolicy...
D, [2018-07-06 09:46:05.461017175#1] DEBUG -- API: Pruning PodDisruptionBudget...
D, [2018-07-06 09:46:05.610389807#1] DEBUG -- API: Pruning PodSecurityPolicy...
D, [2018-07-06 09:46:05.775077559#1] DEBUG -- API: Pruning ClusterRoleBinding...
D, [2018-07-06 09:46:05.941588229#1] DEBUG -- API: Pruning ClusterRole...
D, [2018-07-06 09:46:06.104550766#1] DEBUG -- API: Pruning RoleBinding...
D, [2018-07-06 09:46:06.269989855#1] DEBUG -- API: Pruning Role...
D, [2018-07-06 09:46:06.606464820#1] DEBUG -- API: Pruning StorageClass...
D, [2018-07-06 09:46:06.925065129#1] DEBUG -- API: Pruning MutatingWebhookConfiguration...
D, [2018-07-06 09:46:07.089839846#1] DEBUG -- API: Pruning ValidatingWebhookConfiguration...
D, [2018-07-06 09:46:07.417412970#1] DEBUG -- API: Pruning CustomResourceDefinition...
D, [2018-07-06 09:46:07.733849515#1] DEBUG -- API: Pruning PriorityClass...
D, [2018-07-06 09:46:08.047838959#1] DEBUG -- API: Pruning BGPPeer...
D, [2018-07-06 09:46:08.208765242#1] DEBUG -- API: Pruning HostEndpoint...
D, [2018-07-06 09:46:08.362159635#1] DEBUG -- API: Pruning FelixConfiguration...
D, [2018-07-06 09:46:08.526135197#1] DEBUG -- API: Pruning ClusterInformation...
D, [2018-07-06 09:46:08.689731631#1] DEBUG -- API: Pruning NetworkPolicy...
D, [2018-07-06 09:46:08.833351701#1] DEBUG -- API: Pruning BGPConfiguration...
D, [2018-07-06 09:46:08.990632893#1] DEBUG -- API: Pruning GlobalNetworkPolicy...
D, [2018-07-06 09:46:09.145279524#1] DEBUG -- API: Pruning GlobalNetworkSet...
D, [2018-07-06 09:46:09.303920825#1] DEBUG -- API: Pruning IPPool...
D, [2018-07-06 09:46:09.451730186#1] DEBUG -- API: Pruning ConfigMap...
D, [2018-07-06 09:46:09.613505746#1] DEBUG -- API: Pruning Event...
D, [2018-07-06 09:46:09.762108237#1] DEBUG -- API: Pruning LimitRange...
D, [2018-07-06 09:46:09.912795290#1] DEBUG -- API: Pruning Namespace...
D, [2018-07-06 09:46:10.059280583#1] DEBUG -- API: Pruning Node...
D, [2018-07-06 09:46:10.221544538#1] DEBUG -- API: Pruning PersistentVolumeClaim...
D, [2018-07-06 09:46:10.390467733#1] DEBUG -- API: Pruning PersistentVolume...
D, [2018-07-06 09:46:10.550741433#1] DEBUG -- API: Pruning Pod...
D, [2018-07-06 09:46:10.728636007#1] DEBUG -- API: Pruning PodTemplate...
D, [2018-07-06 09:46:10.901915208#1] DEBUG -- API: Pruning ReplicationController...
D, [2018-07-06 09:46:11.048909369#1] DEBUG -- API: Pruning ResourceQuota...
D, [2018-07-06 09:46:11.197513158#1] DEBUG -- API: Pruning Secret...
D, [2018-07-06 09:46:11.372357767#1] DEBUG -- API: Pruning ServiceAccount...
D, [2018-07-06 09:46:11.553779111#1] DEBUG -- API: Pruning Service...
 %self      total      self      wait     child     calls  name
  0.00     13.410     0.000     0.000    13.410        1   [global]#[no method]
  0.00     12.999     0.000     0.000    12.999        1   Pharos::Kube::Stack#apply
  0.00     12.999     0.000     0.000    12.999        1   Pharos::Kube::Stack#with_pruning
  0.00     12.741     0.001     0.000    12.740       80   <Class::RestClient::Request>#execute
  0.01     12.606     0.001     0.000    12.604       79   Kubeclient::ClientMixin#handle_exception
  0.01     12.584     0.001     0.000    12.583       80   RestClient::Request#execute
  0.03     12.561     0.004     0.000    12.557       80   RestClient::Request#transmit
  0.02     12.543     0.002     0.000    12.541       80   Net::HTTP#start
  0.01     11.944     0.001     0.000    11.943       75   RestClient::Resource#get
  0.09     10.892     0.012     0.000    10.880     8294  *Array#each
  0.00     10.838     0.000     0.000    10.838        1   Pharos::Kube::Stack#prune
  0.00      9.448     0.000     0.000     9.447       80   Net::HTTP#do_start
  0.06      9.447     0.008     0.000     9.439       80   Net::HTTP#connect
 64.83      8.694     8.694     0.000     0.000      244   IO#wait_readable
  0.12      8.373     0.015     0.000     8.357     1290  *Hash#each
  0.01      8.268     0.001     0.000     8.267       51   Kubeclient::ClientMixin#get_entities
  0.07      6.696     0.009     0.000     6.687       80   Net::Protocol#ssl_socket_connect
  0.00      3.027     0.001     0.000     3.026       80   RestClient::Request#net_http_do_request
  0.01      3.026     0.001     0.000     3.025       80   Net::HTTP#request
  0.01      3.023     0.001     0.000     3.022       80   Net::HTTP#transport_request
  0.01      2.983     0.002     0.000     2.981       80   Kernel#catch
  0.01      2.943     0.001     0.000     2.942       80   <Class::Net::HTTPResponse>#read_new
  0.02      2.915     0.003     0.000     2.912      430   Net::BufferedIO#readuntil
  0.01      2.913     0.001     0.000     2.912       80   <Class::Net::HTTPResponse>#read_status_line
  0.01      2.911     0.001     0.000     2.910      110   Net::BufferedIO#readline
  0.03      2.909     0.004     0.000     2.905      102   Net::BufferedIO#rbuf_fill
  0.00      2.795     0.000     0.000     2.795       23   Pharos::Kube::Client#entities
  0.00      2.795     0.000     0.000     2.795       18   Kubeclient::ClientMixin#discover
  0.00      2.787     0.000     0.000     2.787       18   Kubeclient::ClientMixin#load_entities
  0.00      2.772     0.000     0.000     2.772       18   Kubeclient::ClientMixin#fetch_entities
  0.03      2.595     0.004     0.000     2.591       80   <Module::Timeout>#timeout
  0.01      2.563     0.001     0.000     2.562       81   <Class::IO>#open
  0.09      2.558     0.012     2.546     0.000       80   TCPSocket#initialize
  0.09      2.201     0.012     0.000     2.190     4877  *Array#map
  0.00      2.136     0.000     0.000     2.136        5   Pharos::Kube::Resource#apply
SpComb commented 6 years ago

Testing with a proof-of-concept excon-based kube client that uses HTTP request pipelining for the GET /apis/* + each of the per-apigroup GET /apis/*/* list requests, I can get the equivalent "list all kube resources for all api groups" for 53 resource types down to ~2s... not using any labelSelector yet, though:

EDIT: adding in a ?labelSelector=pharos.kontena.io/stack=calico brings it down to about ~1.8s.

I, [2018-07-06T16:57:43.068215 #7]  INFO -- : Kube server version: v1.11.0
I, [2018-07-06T16:57:43.207777 #7]  INFO -- : api=v1
I, [2018-07-06T16:57:43.247212 #7]  INFO -- : api=v1 resource=componentstatuses
I, [2018-07-06T16:57:43.247292 #7]  INFO -- : api=v1 resource=configmaps
I, [2018-07-06T16:57:43.247324 #7]  INFO -- : api=v1 resource=endpoints
I, [2018-07-06T16:57:43.247351 #7]  INFO -- : api=v1 resource=events
I, [2018-07-06T16:57:43.247384 #7]  INFO -- : api=v1 resource=limitranges
I, [2018-07-06T16:57:43.247438 #7]  INFO -- : api=v1 resource=namespaces
I, [2018-07-06T16:57:43.247467 #7]  INFO -- : api=v1 resource=nodes
I, [2018-07-06T16:57:43.247497 #7]  INFO -- : api=v1 resource=persistentvolumeclaims
I, [2018-07-06T16:57:43.247527 #7]  INFO -- : api=v1 resource=persistentvolumes
I, [2018-07-06T16:57:43.247585 #7]  INFO -- : api=v1 resource=pods
I, [2018-07-06T16:57:43.247622 #7]  INFO -- : api=v1 resource=podtemplates
I, [2018-07-06T16:57:43.247659 #7]  INFO -- : api=v1 resource=replicationcontrollers
I, [2018-07-06T16:57:43.247693 #7]  INFO -- : api=v1 resource=resourcequotas
I, [2018-07-06T16:57:43.247725 #7]  INFO -- : api=v1 resource=secrets
I, [2018-07-06T16:57:43.247759 #7]  INFO -- : api=v1 resource=serviceaccounts
I, [2018-07-06T16:57:43.247790 #7]  INFO -- : api=v1 resource=services
I, [2018-07-06T16:57:43.484766 #7]  INFO -- : api=v1 kind=ComponentStatus namespace= name=controller-manager
I, [2018-07-06T16:57:43.484833 #7]  INFO -- : api=v1 kind=ComponentStatus namespace= name=scheduler
I, [2018-07-06T16:57:43.484855 #7]  INFO -- : api=v1 kind=ComponentStatus namespace= name=etcd-0
I, [2018-07-06T16:57:43.484877 #7]  INFO -- : api=v1 kind=ConfigMap namespace=ingress-nginx name=ingress-controller-leader-nginx
I, [2018-07-06T16:57:43.484904 #7]  INFO -- : api=v1 kind=ConfigMap namespace=ingress-nginx name=nginx-configuration
I, [2018-07-06T16:57:43.484929 #7]  INFO -- : api=v1 kind=ConfigMap namespace=ingress-nginx name=tcp-services
I, [2018-07-06T16:57:43.484953 #7]  INFO -- : api=v1 kind=ConfigMap namespace=ingress-nginx name=udp-services
I, [2018-07-06T16:57:43.484976 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-public name=cluster-info
I, [2018-07-06T16:57:43.485022 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-system name=calico-config
I, [2018-07-06T16:57:43.485048 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-system name=coredns
I, [2018-07-06T16:57:43.485076 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-system name=extension-apiserver-authentication
I, [2018-07-06T16:57:43.485104 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-system name=host-upgrades
I, [2018-07-06T16:57:43.485133 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-system name=kube-proxy
I, [2018-07-06T16:57:43.485160 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-system name=kubeadm-config
I, [2018-07-06T16:57:43.485188 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-system name=kubelet-config-1.11
I, [2018-07-06T16:57:43.485217 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-system name=kubernetes-dashboard-settings
I, [2018-07-06T16:57:43.485248 #7]  INFO -- : api=v1 kind=ConfigMap namespace=kube-system name=pharos-config
I, [2018-07-06T16:57:43.485277 #7]  INFO -- : api=v1 kind=Endpoints namespace=default name=kubernetes
I, [2018-07-06T16:57:43.485309 #7]  INFO -- : api=v1 kind=Endpoints namespace=ingress-nginx name=default-http-backend
I, [2018-07-06T16:57:43.485341 #7]  INFO -- : api=v1 kind=Endpoints namespace=kube-system name=heapster
I, [2018-07-06T16:57:43.485368 #7]  INFO -- : api=v1 kind=Endpoints namespace=kube-system name=kube-controller-manager
I, [2018-07-06T16:57:43.485395 #7]  INFO -- : api=v1 kind=Endpoints namespace=kube-system name=kube-dns
I, [2018-07-06T16:57:43.485424 #7]  INFO -- : api=v1 kind=Endpoints namespace=kube-system name=kube-scheduler
I, [2018-07-06T16:57:43.485452 #7]  INFO -- : api=v1 kind=Endpoints namespace=kube-system name=kubernetes-dashboard
I, [2018-07-06T16:57:43.485479 #7]  INFO -- : api=v1 kind=Endpoints namespace=kube-system name=metrics-server
I, [2018-07-06T16:57:43.485506 #7]  INFO -- : api=v1 kind=Namespace namespace= name=default
I, [2018-07-06T16:57:43.485536 #7]  INFO -- : api=v1 kind=Namespace namespace= name=ingress-nginx
I, [2018-07-06T16:57:43.485564 #7]  INFO -- : api=v1 kind=Namespace namespace= name=kube-public
I, [2018-07-06T16:57:43.485596 #7]  INFO -- : api=v1 kind=Namespace namespace= name=kube-system
I, [2018-07-06T16:57:43.485624 #7]  INFO -- : api=v1 kind=Node namespace= name=terom-bionic-test
I, [2018-07-06T16:57:43.485652 #7]  INFO -- : api=v1 kind=Node namespace= name=terom-centos-test
I, [2018-07-06T16:57:43.485690 #7]  INFO -- : api=v1 kind=Node namespace= name=terom-pharos-master
I, [2018-07-06T16:57:43.485718 #7]  INFO -- : api=v1 kind=Node namespace= name=terom-pharos-worker1
I, [2018-07-06T16:57:43.485779 #7]  INFO -- : api=v1 kind=Pod namespace=ingress-nginx name=default-http-backend-5d9c559b49-h7jfk
I, [2018-07-06T16:57:43.485809 #7]  INFO -- : api=v1 kind=Pod namespace=ingress-nginx name=default-http-backend-5d9c559b49-th9d2
I, [2018-07-06T16:57:43.485840 #7]  INFO -- : api=v1 kind=Pod namespace=ingress-nginx name=nginx-ingress-controller-g2lv6
I, [2018-07-06T16:57:43.485869 #7]  INFO -- : api=v1 kind=Pod namespace=ingress-nginx name=nginx-ingress-controller-h4sf2
I, [2018-07-06T16:57:43.485905 #7]  INFO -- : api=v1 kind=Pod namespace=ingress-nginx name=nginx-ingress-controller-lsvrx
I, [2018-07-06T16:57:43.485935 #7]  INFO -- : api=v1 kind=Pod namespace=ingress-nginx name=nginx-ingress-controller-t7x9j
I, [2018-07-06T16:57:43.485966 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=calico-node-4spdx
I, [2018-07-06T16:57:43.485997 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=calico-node-jrfwq
I, [2018-07-06T16:57:43.486025 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=calico-node-mvbk8
I, [2018-07-06T16:57:43.486052 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=calico-node-v24d4
I, [2018-07-06T16:57:43.486079 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=coredns-5b69fd4dfc-rstd2
I, [2018-07-06T16:57:43.486106 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=coredns-5b69fd4dfc-ths7q
I, [2018-07-06T16:57:43.486134 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=coredns-5b69fd4dfc-wd4kd
I, [2018-07-06T16:57:43.486164 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=etcd-terom-pharos-master
I, [2018-07-06T16:57:43.486192 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=heapster-f49588f94-7qb7f
I, [2018-07-06T16:57:43.486220 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=host-upgrades-pt88n
I, [2018-07-06T16:57:43.486246 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=host-upgrades-qh6b8
I, [2018-07-06T16:57:43.486272 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=host-upgrades-qq7v4
I, [2018-07-06T16:57:43.486298 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=host-upgrades-zpvf8
I, [2018-07-06T16:57:43.486327 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=kube-apiserver-terom-pharos-master
I, [2018-07-06T16:57:43.486355 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=kube-controller-manager-terom-pharos-master
I, [2018-07-06T16:57:43.486392 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=kube-proxy-gvvsj
I, [2018-07-06T16:57:43.486417 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=kube-proxy-htptz
I, [2018-07-06T16:57:43.486442 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=kube-proxy-ndb2w
I, [2018-07-06T16:57:43.486467 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=kube-proxy-pj7z4
I, [2018-07-06T16:57:43.486494 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=kube-scheduler-terom-pharos-master
I, [2018-07-06T16:57:43.486522 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=kubernetes-dashboard-866596645-wfdd5
I, [2018-07-06T16:57:43.486550 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=metrics-server-65f866677d-z6ptr
I, [2018-07-06T16:57:43.486584 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=pharos-proxy-terom-bionic-test
I, [2018-07-06T16:57:43.486618 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=pharos-proxy-terom-centos-test
I, [2018-07-06T16:57:43.486647 #7]  INFO -- : api=v1 kind=Pod namespace=kube-system name=pharos-proxy-terom-pharos-worker1
I, [2018-07-06T16:57:43.486675 #7]  INFO -- : api=v1 kind=Secret namespace=default name=default-token-8f5h4
I, [2018-07-06T16:57:43.486697 #7]  INFO -- : api=v1 kind=Secret namespace=ingress-nginx name=default-token-rjgqj
I, [2018-07-06T16:57:43.486719 #7]  INFO -- : api=v1 kind=Secret namespace=ingress-nginx name=nginx-ingress-serviceaccount-token-xr9j7
I, [2018-07-06T16:57:43.486753 #7]  INFO -- : api=v1 kind=Secret namespace=kube-public name=default-token-7q9vq
I, [2018-07-06T16:57:43.486817 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=attachdetach-controller-token-5tpkr
I, [2018-07-06T16:57:43.486870 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=bootstrap-signer-token-ljwcl
I, [2018-07-06T16:57:43.486903 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=bootstrap-token-62rqgw
I, [2018-07-06T16:57:43.486929 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=bootstrap-token-6t3hli
I, [2018-07-06T16:57:43.486964 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=bootstrap-token-g6wt9m
I, [2018-07-06T16:57:43.486990 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=bootstrap-token-qe4dq6
I, [2018-07-06T16:57:43.487012 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=calico-node-token-7mrrb
I, [2018-07-06T16:57:43.487034 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=certificate-controller-token-9rh4s
I, [2018-07-06T16:57:43.487175 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=clusterrole-aggregation-controller-token-kmk5t
I, [2018-07-06T16:57:43.487203 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=coredns-token-8xrzz
I, [2018-07-06T16:57:43.487229 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=cronjob-controller-token-xqdf6
I, [2018-07-06T16:57:43.487254 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=daemon-set-controller-token-jfm4l
I, [2018-07-06T16:57:43.487276 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=dashboard-admin-token-mhgh2
I, [2018-07-06T16:57:43.487305 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=default-token-wfhvl
I, [2018-07-06T16:57:43.487330 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=deployment-controller-token-296d4
I, [2018-07-06T16:57:43.487374 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=disruption-controller-token-6c2vg
I, [2018-07-06T16:57:43.487399 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=endpoint-controller-token-txh5w
I, [2018-07-06T16:57:43.487427 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=expand-controller-token-vjm52
I, [2018-07-06T16:57:43.487452 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=generic-garbage-collector-token-cxdjf
I, [2018-07-06T16:57:43.487483 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=heapster-token-65kw5
I, [2018-07-06T16:57:43.487540 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=horizontal-pod-autoscaler-token-rmgqb
I, [2018-07-06T16:57:43.487576 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=host-upgrades-token-x95lq
I, [2018-07-06T16:57:43.487606 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=job-controller-token-bh9hl
I, [2018-07-06T16:57:43.487633 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=kube-dns-token-5xhwn
I, [2018-07-06T16:57:43.487710 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=kube-proxy-token-6bcj5
I, [2018-07-06T16:57:43.487746 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=kubernetes-dashboard-certs
I, [2018-07-06T16:57:43.487775 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=kubernetes-dashboard-key-holder
I, [2018-07-06T16:57:43.487797 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=kubernetes-dashboard-token-xjj8p
I, [2018-07-06T16:57:43.487821 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=metrics-server-token-5gzxm
I, [2018-07-06T16:57:43.487895 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=namespace-controller-token-qgd9s
I, [2018-07-06T16:57:43.487931 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=node-controller-token-n5kcr
I, [2018-07-06T16:57:43.487967 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=persistent-volume-binder-token-4s6zj
I, [2018-07-06T16:57:43.487995 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=pod-garbage-collector-token-qfd9v
I, [2018-07-06T16:57:43.488021 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=pv-protection-controller-token-nkd4c
I, [2018-07-06T16:57:43.488050 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=pvc-protection-controller-token-6mvjs
I, [2018-07-06T16:57:43.488105 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=replicaset-controller-token-mfd49
I, [2018-07-06T16:57:43.488141 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=replication-controller-token-q4f9v
I, [2018-07-06T16:57:43.488171 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=resourcequota-controller-token-5vbvc
I, [2018-07-06T16:57:43.488212 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=service-account-controller-token-mlc6r
I, [2018-07-06T16:57:43.488245 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=service-controller-token-8xcxx
I, [2018-07-06T16:57:43.488276 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=statefulset-controller-token-zhm2n
I, [2018-07-06T16:57:43.488305 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=token-cleaner-token-5c7dn
I, [2018-07-06T16:57:43.488362 #7]  INFO -- : api=v1 kind=Secret namespace=kube-system name=ttl-controller-token-2qqgt
I, [2018-07-06T16:57:43.488397 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=default name=default
I, [2018-07-06T16:57:43.488427 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=ingress-nginx name=default
I, [2018-07-06T16:57:43.488454 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=ingress-nginx name=nginx-ingress-serviceaccount
I, [2018-07-06T16:57:43.488490 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-public name=default
I, [2018-07-06T16:57:43.488519 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=attachdetach-controller
I, [2018-07-06T16:57:43.488573 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=bootstrap-signer
I, [2018-07-06T16:57:43.488613 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=calico-node
I, [2018-07-06T16:57:43.488645 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=certificate-controller
I, [2018-07-06T16:57:43.488676 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=clusterrole-aggregation-controller
I, [2018-07-06T16:57:43.488705 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=coredns
I, [2018-07-06T16:57:43.488732 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=cronjob-controller
I, [2018-07-06T16:57:43.488755 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=daemon-set-controller
I, [2018-07-06T16:57:43.488783 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=dashboard-admin
I, [2018-07-06T16:57:43.488807 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=default
I, [2018-07-06T16:57:43.488830 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=deployment-controller
I, [2018-07-06T16:57:43.488874 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=disruption-controller
I, [2018-07-06T16:57:43.488904 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=endpoint-controller
I, [2018-07-06T16:57:43.488930 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=expand-controller
I, [2018-07-06T16:57:43.488954 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=generic-garbage-collector
I, [2018-07-06T16:57:43.489005 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=heapster
I, [2018-07-06T16:57:43.489079 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=horizontal-pod-autoscaler
I, [2018-07-06T16:57:43.489116 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=host-upgrades
I, [2018-07-06T16:57:43.489145 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=job-controller
I, [2018-07-06T16:57:43.489173 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=kube-dns
I, [2018-07-06T16:57:43.489233 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=kube-proxy
I, [2018-07-06T16:57:43.489312 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=kubernetes-dashboard
I, [2018-07-06T16:57:43.489347 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=metrics-server
I, [2018-07-06T16:57:43.489386 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=namespace-controller
I, [2018-07-06T16:57:43.489416 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=node-controller
I, [2018-07-06T16:57:43.489474 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=persistent-volume-binder
I, [2018-07-06T16:57:43.489510 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=pod-garbage-collector
I, [2018-07-06T16:57:43.489559 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=pv-protection-controller
I, [2018-07-06T16:57:43.489622 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=pvc-protection-controller
I, [2018-07-06T16:57:43.489659 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=replicaset-controller
I, [2018-07-06T16:57:43.489693 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=replication-controller
I, [2018-07-06T16:57:43.489717 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=resourcequota-controller
I, [2018-07-06T16:57:43.489738 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=service-account-controller
I, [2018-07-06T16:57:43.489762 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=service-controller
I, [2018-07-06T16:57:43.489785 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=statefulset-controller
I, [2018-07-06T16:57:43.489808 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=token-cleaner
I, [2018-07-06T16:57:43.489835 #7]  INFO -- : api=v1 kind=ServiceAccount namespace=kube-system name=ttl-controller
I, [2018-07-06T16:57:43.489865 #7]  INFO -- : api=v1 kind=Service namespace=default name=kubernetes
I, [2018-07-06T16:57:43.489904 #7]  INFO -- : api=v1 kind=Service namespace=ingress-nginx name=default-http-backend
I, [2018-07-06T16:57:43.489934 #7]  INFO -- : api=v1 kind=Service namespace=kube-system name=heapster
I, [2018-07-06T16:57:43.489991 #7]  INFO -- : api=v1 kind=Service namespace=kube-system name=kube-dns
I, [2018-07-06T16:57:43.490026 #7]  INFO -- : api=v1 kind=Service namespace=kube-system name=kubernetes-dashboard
I, [2018-07-06T16:57:43.490057 #7]  INFO -- : api=v1 kind=Service namespace=kube-system name=metrics-server
I, [2018-07-06T16:57:43.490100 #7]  INFO -- : api=apiregistration.k8s.io/v1
I, [2018-07-06T16:57:43.490154 #7]  INFO -- : api=apiregistration.k8s.io/v1 resource=apiservices
I, [2018-07-06T16:57:43.543145 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.
I, [2018-07-06T16:57:43.543361 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.apps
I, [2018-07-06T16:57:43.543553 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.authentication.k8s.io
I, [2018-07-06T16:57:43.543735 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.authorization.k8s.io
I, [2018-07-06T16:57:43.544073 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.autoscaling
I, [2018-07-06T16:57:43.544231 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.batch
I, [2018-07-06T16:57:43.544363 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.crd.projectcalico.org
I, [2018-07-06T16:57:43.544491 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.networking.k8s.io
I, [2018-07-06T16:57:43.544610 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.rbac.authorization.k8s.io
I, [2018-07-06T16:57:43.544737 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1.storage.k8s.io
I, [2018-07-06T16:57:43.544893 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.admissionregistration.k8s.io
I, [2018-07-06T16:57:43.545022 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.apiextensions.k8s.io
I, [2018-07-06T16:57:43.545187 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.apps
I, [2018-07-06T16:57:43.545304 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.authentication.k8s.io
I, [2018-07-06T16:57:43.545419 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.authorization.k8s.io
I, [2018-07-06T16:57:43.545583 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.batch
I, [2018-07-06T16:57:43.545933 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.certificates.k8s.io
I, [2018-07-06T16:57:43.546221 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.events.k8s.io
I, [2018-07-06T16:57:43.546378 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.extensions
I, [2018-07-06T16:57:43.546510 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.metrics.k8s.io
I, [2018-07-06T16:57:43.546667 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.policy
I, [2018-07-06T16:57:43.546786 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.rbac.authorization.k8s.io
I, [2018-07-06T16:57:43.546907 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.scheduling.k8s.io
I, [2018-07-06T16:57:43.547035 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta1.storage.k8s.io
I, [2018-07-06T16:57:43.547321 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v1beta2.apps
I, [2018-07-06T16:57:43.547464 #7]  INFO -- : api=apiregistration.k8s.io/v1 kind=APIService namespace= name=v2beta1.autoscaling
I, [2018-07-06T16:57:43.547673 #7]  INFO -- : api=extensions/v1beta1
I, [2018-07-06T16:57:43.548120 #7]  INFO -- : api=extensions/v1beta1 resource=daemonsets
I, [2018-07-06T16:57:43.548279 #7]  INFO -- : api=extensions/v1beta1 resource=deployments
I, [2018-07-06T16:57:43.548547 #7]  INFO -- : api=extensions/v1beta1 resource=ingresses
I, [2018-07-06T16:57:43.548702 #7]  INFO -- : api=extensions/v1beta1 resource=networkpolicies
I, [2018-07-06T16:57:43.548827 #7]  INFO -- : api=extensions/v1beta1 resource=podsecuritypolicies
I, [2018-07-06T16:57:43.548998 #7]  INFO -- : api=extensions/v1beta1 resource=replicasets
I, [2018-07-06T16:57:43.654066 #7]  INFO -- : api=extensions/v1beta1 kind=DaemonSet namespace=ingress-nginx name=nginx-ingress-controller
I, [2018-07-06T16:57:43.654215 #7]  INFO -- : api=extensions/v1beta1 kind=DaemonSet namespace=kube-system name=calico-node
I, [2018-07-06T16:57:43.654323 #7]  INFO -- : api=extensions/v1beta1 kind=DaemonSet namespace=kube-system name=host-upgrades
I, [2018-07-06T16:57:43.654390 #7]  INFO -- : api=extensions/v1beta1 kind=DaemonSet namespace=kube-system name=kube-proxy
I, [2018-07-06T16:57:43.654457 #7]  INFO -- : api=extensions/v1beta1 kind=Deployment namespace=ingress-nginx name=default-http-backend
I, [2018-07-06T16:57:43.654556 #7]  INFO -- : api=extensions/v1beta1 kind=Deployment namespace=kube-system name=coredns
I, [2018-07-06T16:57:43.654696 #7]  INFO -- : api=extensions/v1beta1 kind=Deployment namespace=kube-system name=heapster
I, [2018-07-06T16:57:43.654782 #7]  INFO -- : api=extensions/v1beta1 kind=Deployment namespace=kube-system name=kubernetes-dashboard
I, [2018-07-06T16:57:43.654856 #7]  INFO -- : api=extensions/v1beta1 kind=Deployment namespace=kube-system name=metrics-server
I, [2018-07-06T16:57:43.655087 #7]  INFO -- : api=extensions/v1beta1 kind=ReplicaSet namespace=ingress-nginx name=default-http-backend-5d9c559b49
I, [2018-07-06T16:57:43.655182 #7]  INFO -- : api=extensions/v1beta1 kind=ReplicaSet namespace=kube-system name=coredns-5b69fd4dfc
I, [2018-07-06T16:57:43.655264 #7]  INFO -- : api=extensions/v1beta1 kind=ReplicaSet namespace=kube-system name=coredns-78fcdf6894
I, [2018-07-06T16:57:43.655339 #7]  INFO -- : api=extensions/v1beta1 kind=ReplicaSet namespace=kube-system name=heapster-f49588f94
I, [2018-07-06T16:57:43.655405 #7]  INFO -- : api=extensions/v1beta1 kind=ReplicaSet namespace=kube-system name=kubernetes-dashboard-598d75cb96
I, [2018-07-06T16:57:43.655571 #7]  INFO -- : api=extensions/v1beta1 kind=ReplicaSet namespace=kube-system name=kubernetes-dashboard-866596645
I, [2018-07-06T16:57:43.655645 #7]  INFO -- : api=extensions/v1beta1 kind=ReplicaSet namespace=kube-system name=metrics-server-65f866677d
I, [2018-07-06T16:57:43.655711 #7]  INFO -- : api=apps/v1
I, [2018-07-06T16:57:43.656046 #7]  INFO -- : api=apps/v1 resource=controllerrevisions
I, [2018-07-06T16:57:43.656214 #7]  INFO -- : api=apps/v1 resource=daemonsets
I, [2018-07-06T16:57:43.656531 #7]  INFO -- : api=apps/v1 resource=deployments
I, [2018-07-06T16:57:43.656611 #7]  INFO -- : api=apps/v1 resource=replicasets
I, [2018-07-06T16:57:43.656679 #7]  INFO -- : api=apps/v1 resource=statefulsets
I, [2018-07-06T16:57:43.753617 #7]  INFO -- : api=apps/v1 kind=ControllerRevision namespace=ingress-nginx name=nginx-ingress-controller-65b9b97587
I, [2018-07-06T16:57:43.753888 #7]  INFO -- : api=apps/v1 kind=ControllerRevision namespace=kube-system name=calico-node-59d69797d
I, [2018-07-06T16:57:43.754130 #7]  INFO -- : api=apps/v1 kind=ControllerRevision namespace=kube-system name=host-upgrades-68f7666bc8
I, [2018-07-06T16:57:43.754560 #7]  INFO -- : api=apps/v1 kind=ControllerRevision namespace=kube-system name=kube-proxy-5595fd658b
I, [2018-07-06T16:57:43.754973 #7]  INFO -- : api=apps/v1 kind=ControllerRevision namespace=kube-system name=kube-proxy-cd7bcb65
I, [2018-07-06T16:57:43.755143 #7]  INFO -- : api=apps/v1 kind=DaemonSet namespace=ingress-nginx name=nginx-ingress-controller
I, [2018-07-06T16:57:43.755400 #7]  INFO -- : api=apps/v1 kind=DaemonSet namespace=kube-system name=calico-node
I, [2018-07-06T16:57:43.755830 #7]  INFO -- : api=apps/v1 kind=DaemonSet namespace=kube-system name=host-upgrades
I, [2018-07-06T16:57:43.755994 #7]  INFO -- : api=apps/v1 kind=DaemonSet namespace=kube-system name=kube-proxy
I, [2018-07-06T16:57:43.756132 #7]  INFO -- : api=apps/v1 kind=Deployment namespace=ingress-nginx name=default-http-backend
I, [2018-07-06T16:57:43.756339 #7]  INFO -- : api=apps/v1 kind=Deployment namespace=kube-system name=coredns
I, [2018-07-06T16:57:43.756557 #7]  INFO -- : api=apps/v1 kind=Deployment namespace=kube-system name=heapster
I, [2018-07-06T16:57:43.756691 #7]  INFO -- : api=apps/v1 kind=Deployment namespace=kube-system name=kubernetes-dashboard
I, [2018-07-06T16:57:43.757011 #7]  INFO -- : api=apps/v1 kind=Deployment namespace=kube-system name=metrics-server
I, [2018-07-06T16:57:43.757287 #7]  INFO -- : api=apps/v1 kind=ReplicaSet namespace=ingress-nginx name=default-http-backend-5d9c559b49
I, [2018-07-06T16:57:43.757725 #7]  INFO -- : api=apps/v1 kind=ReplicaSet namespace=kube-system name=coredns-5b69fd4dfc
I, [2018-07-06T16:57:43.758078 #7]  INFO -- : api=apps/v1 kind=ReplicaSet namespace=kube-system name=coredns-78fcdf6894
I, [2018-07-06T16:57:43.758325 #7]  INFO -- : api=apps/v1 kind=ReplicaSet namespace=kube-system name=heapster-f49588f94
I, [2018-07-06T16:57:43.758498 #7]  INFO -- : api=apps/v1 kind=ReplicaSet namespace=kube-system name=kubernetes-dashboard-598d75cb96
I, [2018-07-06T16:57:43.758632 #7]  INFO -- : api=apps/v1 kind=ReplicaSet namespace=kube-system name=kubernetes-dashboard-866596645
I, [2018-07-06T16:57:43.758803 #7]  INFO -- : api=apps/v1 kind=ReplicaSet namespace=kube-system name=metrics-server-65f866677d
I, [2018-07-06T16:57:43.759244 #7]  INFO -- : api=events.k8s.io/v1beta1
I, [2018-07-06T16:57:43.759649 #7]  INFO -- : api=events.k8s.io/v1beta1 resource=events
I, [2018-07-06T16:57:43.797350 #7]  INFO -- : api=authentication.k8s.io/v1
I, [2018-07-06T16:57:43.797606 #7]  INFO -- : api=authorization.k8s.io/v1
I, [2018-07-06T16:57:43.798047 #7]  INFO -- : api=autoscaling/v1
I, [2018-07-06T16:57:43.798391 #7]  INFO -- : api=autoscaling/v1 resource=horizontalpodautoscalers
I, [2018-07-06T16:57:43.836151 #7]  INFO -- : api=batch/v1
I, [2018-07-06T16:57:43.836300 #7]  INFO -- : api=batch/v1 resource=jobs
I, [2018-07-06T16:57:43.872886 #7]  INFO -- : api=certificates.k8s.io/v1beta1
I, [2018-07-06T16:57:43.872957 #7]  INFO -- : api=certificates.k8s.io/v1beta1 resource=certificatesigningrequests
I, [2018-07-06T16:57:43.907128 #7]  INFO -- : api=networking.k8s.io/v1
I, [2018-07-06T16:57:43.907208 #7]  INFO -- : api=networking.k8s.io/v1 resource=networkpolicies
I, [2018-07-06T16:57:43.942950 #7]  INFO -- : api=policy/v1beta1
I, [2018-07-06T16:57:43.943224 #7]  INFO -- : api=policy/v1beta1 resource=poddisruptionbudgets
I, [2018-07-06T16:57:43.943369 #7]  INFO -- : api=policy/v1beta1 resource=podsecuritypolicies
I, [2018-07-06T16:57:44.014489 #7]  INFO -- : api=rbac.authorization.k8s.io/v1
I, [2018-07-06T16:57:44.014753 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 resource=clusterrolebindings
I, [2018-07-06T16:57:44.014898 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 resource=clusterroles
I, [2018-07-06T16:57:44.015021 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 resource=rolebindings
I, [2018-07-06T16:57:44.015249 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 resource=roles
I, [2018-07-06T16:57:44.134553 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=calico-node
I, [2018-07-06T16:57:44.134693 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=cluster-admin
I, [2018-07-06T16:57:44.134734 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=dashboard-admin
I, [2018-07-06T16:57:44.134818 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=heapster
I, [2018-07-06T16:57:44.134859 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=host-upgrades
I, [2018-07-06T16:57:44.134904 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=kubeadm:kubelet-bootstrap
I, [2018-07-06T16:57:44.134975 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=kubeadm:node-autoapprove-bootstrap
I, [2018-07-06T16:57:44.135059 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=kubeadm:node-autoapprove-certificate-rotation
I, [2018-07-06T16:57:44.135134 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=kubeadm:node-proxier
I, [2018-07-06T16:57:44.135175 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=metrics-server:system:auth-delegator
I, [2018-07-06T16:57:44.135207 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=nginx-ingress-clusterrole-nisa-binding
I, [2018-07-06T16:57:44.135249 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:aws-cloud-provider
I, [2018-07-06T16:57:44.135286 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:basic-user
I, [2018-07-06T16:57:44.135322 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:attachdetach-controller
I, [2018-07-06T16:57:44.135358 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:certificate-controller
I, [2018-07-06T16:57:44.135393 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:clusterrole-aggregation-controller
I, [2018-07-06T16:57:44.135431 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:cronjob-controller
I, [2018-07-06T16:57:44.135475 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:daemon-set-controller
I, [2018-07-06T16:57:44.135512 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:deployment-controller
I, [2018-07-06T16:57:44.135594 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:disruption-controller
I, [2018-07-06T16:57:44.135639 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:endpoint-controller
I, [2018-07-06T16:57:44.135675 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:expand-controller
I, [2018-07-06T16:57:44.135722 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:generic-garbage-collector
I, [2018-07-06T16:57:44.135771 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:horizontal-pod-autoscaler
I, [2018-07-06T16:57:44.135817 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:job-controller
I, [2018-07-06T16:57:44.135864 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:namespace-controller
I, [2018-07-06T16:57:44.135960 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:node-controller
I, [2018-07-06T16:57:44.136020 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:persistent-volume-binder
I, [2018-07-06T16:57:44.136072 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:pod-garbage-collector
I, [2018-07-06T16:57:44.136144 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:pv-protection-controller
I, [2018-07-06T16:57:44.136219 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:pvc-protection-controller
I, [2018-07-06T16:57:44.136272 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:replicaset-controller
I, [2018-07-06T16:57:44.136319 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:replication-controller
I, [2018-07-06T16:57:44.136429 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:resourcequota-controller
I, [2018-07-06T16:57:44.136483 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:route-controller
I, [2018-07-06T16:57:44.136535 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:service-account-controller
I, [2018-07-06T16:57:44.136620 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:service-controller
I, [2018-07-06T16:57:44.136677 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:statefulset-controller
I, [2018-07-06T16:57:44.136766 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:controller:ttl-controller
I, [2018-07-06T16:57:44.136806 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:coredns
I, [2018-07-06T16:57:44.136847 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:discovery
I, [2018-07-06T16:57:44.136887 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:kube-controller-manager
I, [2018-07-06T16:57:44.136925 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:kube-dns
I, [2018-07-06T16:57:44.136963 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:kube-scheduler
I, [2018-07-06T16:57:44.137000 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:metrics-server
I, [2018-07-06T16:57:44.137273 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:node
I, [2018-07-06T16:57:44.137329 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:node-proxier
I, [2018-07-06T16:57:44.137378 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRoleBinding namespace= name=system:volume-scheduler
I, [2018-07-06T16:57:44.137455 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=admin
I, [2018-07-06T16:57:44.137507 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=calico-node
I, [2018-07-06T16:57:44.137554 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=cluster-admin
I, [2018-07-06T16:57:44.137631 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=edit
I, [2018-07-06T16:57:44.137690 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=host-upgrades
I, [2018-07-06T16:57:44.137731 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=nginx-ingress-clusterrole
I, [2018-07-06T16:57:44.137794 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:aggregate-to-admin
I, [2018-07-06T16:57:44.137836 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:aggregate-to-edit
I, [2018-07-06T16:57:44.137878 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:aggregate-to-view
I, [2018-07-06T16:57:44.137913 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:auth-delegator
I, [2018-07-06T16:57:44.137954 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:aws-cloud-provider
I, [2018-07-06T16:57:44.138001 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:basic-user
I, [2018-07-06T16:57:44.138050 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:certificates.k8s.io:certificatesigningrequests:nodeclient
I, [2018-07-06T16:57:44.138199 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:certificates.k8s.io:certificatesigningrequests:selfnodeclient
I, [2018-07-06T16:57:44.138339 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:attachdetach-controller
I, [2018-07-06T16:57:44.138387 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:certificate-controller
I, [2018-07-06T16:57:44.138429 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:clusterrole-aggregation-controller
I, [2018-07-06T16:57:44.138468 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:cronjob-controller
I, [2018-07-06T16:57:44.138511 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:daemon-set-controller
I, [2018-07-06T16:57:44.138586 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:deployment-controller
I, [2018-07-06T16:57:44.138639 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:disruption-controller
I, [2018-07-06T16:57:44.138682 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:endpoint-controller
I, [2018-07-06T16:57:44.138728 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:expand-controller
I, [2018-07-06T16:57:44.138790 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:generic-garbage-collector
I, [2018-07-06T16:57:44.138836 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:horizontal-pod-autoscaler
I, [2018-07-06T16:57:44.138919 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:job-controller
I, [2018-07-06T16:57:44.138976 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:namespace-controller
I, [2018-07-06T16:57:44.139129 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:node-controller
I, [2018-07-06T16:57:44.139191 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:persistent-volume-binder
I, [2018-07-06T16:57:44.139243 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:pod-garbage-collector
I, [2018-07-06T16:57:44.139332 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:pv-protection-controller
I, [2018-07-06T16:57:44.139410 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:pvc-protection-controller
I, [2018-07-06T16:57:44.139462 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:replicaset-controller
I, [2018-07-06T16:57:44.139499 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:replication-controller
I, [2018-07-06T16:57:44.139555 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:resourcequota-controller
I, [2018-07-06T16:57:44.139589 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:route-controller
I, [2018-07-06T16:57:44.139624 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:service-account-controller
I, [2018-07-06T16:57:44.139653 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:service-controller
I, [2018-07-06T16:57:44.139715 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:statefulset-controller
I, [2018-07-06T16:57:44.139755 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:controller:ttl-controller
I, [2018-07-06T16:57:44.139793 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:coredns
I, [2018-07-06T16:57:44.139825 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:csi-external-attacher
I, [2018-07-06T16:57:44.139853 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:csi-external-provisioner
I, [2018-07-06T16:57:44.139880 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:discovery
I, [2018-07-06T16:57:44.139931 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:heapster
I, [2018-07-06T16:57:44.139972 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:kube-aggregator
I, [2018-07-06T16:57:44.140011 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:kube-controller-manager
I, [2018-07-06T16:57:44.140050 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:kube-dns
I, [2018-07-06T16:57:44.140121 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:kube-scheduler
I, [2018-07-06T16:57:44.140180 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:kubelet-api-admin
I, [2018-07-06T16:57:44.140211 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:metrics-server
I, [2018-07-06T16:57:44.140233 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:node
I, [2018-07-06T16:57:44.140280 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:node-bootstrapper
I, [2018-07-06T16:57:44.140311 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:node-problem-detector
I, [2018-07-06T16:57:44.140345 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:node-proxier
I, [2018-07-06T16:57:44.140382 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:persistent-volume-provisioner
I, [2018-07-06T16:57:44.140439 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=system:volume-scheduler
I, [2018-07-06T16:57:44.140494 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=ClusterRole namespace= name=view
I, [2018-07-06T16:57:44.140537 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=ingress-nginx name=nginx-ingress-role-nisa-binding
I, [2018-07-06T16:57:44.140611 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-public name=kubeadm:bootstrap-signer-clusterinfo
I, [2018-07-06T16:57:44.140668 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-public name=system:controller:bootstrap-signer
I, [2018-07-06T16:57:44.140740 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-system name=kubeadm:kubelet-config-1.11
I, [2018-07-06T16:57:44.140800 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-system name=kubernetes-dashboard-minimal
I, [2018-07-06T16:57:44.140875 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-system name=metrics-server-auth-reader
I, [2018-07-06T16:57:44.140921 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-system name=system::leader-locking-kube-controller-manager
I, [2018-07-06T16:57:44.140999 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-system name=system::leader-locking-kube-scheduler
I, [2018-07-06T16:57:44.141045 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-system name=system:controller:bootstrap-signer
I, [2018-07-06T16:57:44.141103 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-system name=system:controller:cloud-provider
I, [2018-07-06T16:57:44.141178 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=RoleBinding namespace=kube-system name=system:controller:token-cleaner
I, [2018-07-06T16:57:44.141231 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=ingress-nginx name=nginx-ingress-role
I, [2018-07-06T16:57:44.141322 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-public name=kubeadm:bootstrap-signer-clusterinfo
I, [2018-07-06T16:57:44.141362 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-public name=system:controller:bootstrap-signer
I, [2018-07-06T16:57:44.141397 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-system name=extension-apiserver-authentication-reader
I, [2018-07-06T16:57:44.141433 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-system name=kubeadm:kubelet-config-1.11
I, [2018-07-06T16:57:44.141466 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-system name=kubernetes-dashboard-minimal
I, [2018-07-06T16:57:44.141499 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-system name=system::leader-locking-kube-controller-manager
I, [2018-07-06T16:57:44.141546 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-system name=system::leader-locking-kube-scheduler
I, [2018-07-06T16:57:44.141603 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-system name=system:controller:bootstrap-signer
I, [2018-07-06T16:57:44.141636 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-system name=system:controller:cloud-provider
I, [2018-07-06T16:57:44.141682 #7]  INFO -- : api=rbac.authorization.k8s.io/v1 kind=Role namespace=kube-system name=system:controller:token-cleaner
I, [2018-07-06T16:57:44.141710 #7]  INFO -- : api=storage.k8s.io/v1
I, [2018-07-06T16:57:44.141756 #7]  INFO -- : api=storage.k8s.io/v1 resource=storageclasses
I, [2018-07-06T16:57:44.177520 #7]  INFO -- : api=admissionregistration.k8s.io/v1beta1
I, [2018-07-06T16:57:44.177607 #7]  INFO -- : api=admissionregistration.k8s.io/v1beta1 resource=mutatingwebhookconfigurations
I, [2018-07-06T16:57:44.177637 #7]  INFO -- : api=admissionregistration.k8s.io/v1beta1 resource=validatingwebhookconfigurations
I, [2018-07-06T16:57:44.246422 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1
I, [2018-07-06T16:57:44.246720 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 resource=customresourcedefinitions
I, [2018-07-06T16:57:44.287563 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 kind=CustomResourceDefinition namespace= name=bgpconfigurations.crd.projectcalico.org
I, [2018-07-06T16:57:44.287649 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 kind=CustomResourceDefinition namespace= name=bgppeers.crd.projectcalico.org
I, [2018-07-06T16:57:44.287692 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 kind=CustomResourceDefinition namespace= name=clusterinformations.crd.projectcalico.org
I, [2018-07-06T16:57:44.287741 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 kind=CustomResourceDefinition namespace= name=felixconfigurations.crd.projectcalico.org
I, [2018-07-06T16:57:44.287786 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 kind=CustomResourceDefinition namespace= name=globalnetworkpolicies.crd.projectcalico.org
I, [2018-07-06T16:57:44.287823 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 kind=CustomResourceDefinition namespace= name=globalnetworksets.crd.projectcalico.org
I, [2018-07-06T16:57:44.287866 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 kind=CustomResourceDefinition namespace= name=hostendpoints.crd.projectcalico.org
I, [2018-07-06T16:57:44.287910 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 kind=CustomResourceDefinition namespace= name=ippools.crd.projectcalico.org
I, [2018-07-06T16:57:44.287949 #7]  INFO -- : api=apiextensions.k8s.io/v1beta1 kind=CustomResourceDefinition namespace= name=networkpolicies.crd.projectcalico.org
I, [2018-07-06T16:57:44.288034 #7]  INFO -- : api=scheduling.k8s.io/v1beta1
I, [2018-07-06T16:57:44.288100 #7]  INFO -- : api=scheduling.k8s.io/v1beta1 resource=priorityclasses
I, [2018-07-06T16:57:44.325866 #7]  INFO -- : api=scheduling.k8s.io/v1beta1 kind=PriorityClass namespace= name=system-cluster-critical
I, [2018-07-06T16:57:44.325960 #7]  INFO -- : api=scheduling.k8s.io/v1beta1 kind=PriorityClass namespace= name=system-node-critical
I, [2018-07-06T16:57:44.326001 #7]  INFO -- : api=crd.projectcalico.org/v1
I, [2018-07-06T16:57:44.326156 #7]  INFO -- : api=crd.projectcalico.org/v1 resource=bgppeers
I, [2018-07-06T16:57:44.326217 #7]  INFO -- : api=crd.projectcalico.org/v1 resource=hostendpoints
I, [2018-07-06T16:57:44.326265 #7]  INFO -- : api=crd.projectcalico.org/v1 resource=felixconfigurations
I, [2018-07-06T16:57:44.326310 #7]  INFO -- : api=crd.projectcalico.org/v1 resource=clusterinformations
I, [2018-07-06T16:57:44.326364 #7]  INFO -- : api=crd.projectcalico.org/v1 resource=ippools
I, [2018-07-06T16:57:44.326396 #7]  INFO -- : api=crd.projectcalico.org/v1 resource=networkpolicies
I, [2018-07-06T16:57:44.326430 #7]  INFO -- : api=crd.projectcalico.org/v1 resource=bgpconfigurations
I, [2018-07-06T16:57:44.326467 #7]  INFO -- : api=crd.projectcalico.org/v1 resource=globalnetworkpolicies
I, [2018-07-06T16:57:44.326504 #7]  INFO -- : api=crd.projectcalico.org/v1 resource=globalnetworksets
I, [2018-07-06T16:57:44.433901 #7]  INFO -- : api=crd.projectcalico.org/v1 kind=FelixConfiguration namespace= name=default
I, [2018-07-06T16:57:44.434128 #7]  INFO -- : api=crd.projectcalico.org/v1 kind=ClusterInformation namespace= name=default
I, [2018-07-06T16:57:44.434251 #7]  INFO -- : api=crd.projectcalico.org/v1 kind=IPPool namespace= name=default-ipv4-ippool

real    0m2.001s
user    0m0.559s
sys 0m0.077s
SpComb commented 6 years ago

https://github.com/kontena/pharos-kube-client implements a new Pharos::Kube::Client that uses HTTP keepalive/pipelining to efficiently implement Pharos::Kube::Stack#apply. It brings the per-stack apply down from 20-30s to 2-3s in the case of an api server with a ~40ms ICMP RTT => 300-400ms https API request RTT:

I, [2018-07-16T13:52:08.889644 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/rbac.authorization.k8s.io/v1beta1, GET /apis/apiextensions.k8s.io/v1beta1] => HTTP [200, 200] in 0.089s
I, [2018-07-16T13:52:09.035067 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/rbac.authorization.k8s.io/v1beta1/clusterroles/calico-node, GET /api/v1/namespaces/kube-system/serviceaccounts/calico-node, GET /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/calico-node, GET /api/v1/namespaces/kube-system/configmaps/calico-config, GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/bgpconfigurations.crd.projectcalico.org, GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/bgppeers.crd.projectcalico.org, GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/clusterinformations.crd.projectcalico.org, GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/felixconfigurations.crd.projectcalico.org, GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/globalnetworkpolicies.crd.projectcalico.org, GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/globalnetworksets.crd.projectcalico.org, GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/hostendpoints.crd.projectcalico.org, GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/ippools.crd.projectcalico.org, GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/networkpolicies.crd.projectcalico.org, GET /apis/extensions/v1beta1/namespaces/kube-system/daemonsets/calico-node] => HTTP [200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200] in 0.143s
I, [2018-07-16T13:52:09.040949 #1]  INFO -- Pharos::Kube::Stack<calico>: Keep resource rbac.authorization.k8s.io/v1beta1:ClusterRole/calico-node in namespace  with checksum=cab037c83045f76a66ee4a905c58772f
I, [2018-07-16T13:52:09.043604 #1]  INFO -- Pharos::Kube::Stack<calico>: Keep resource v1:ServiceAccount/calico-node in namespace kube-system with checksum=cab037c83045f76a66ee4a905c58772f
I, [2018-07-16T13:52:09.046660 #1]  INFO -- Pharos::Kube::Stack<calico>: Keep resource rbac.authorization.k8s.io/v1beta1:ClusterRoleBinding/calico-node in namespace  with checksum=cab037c83045f76a66ee4a905c58772f
I, [2018-07-16T13:52:09.049541 #1]  INFO -- Pharos::Kube::Stack<calico>: Keep resource v1:ConfigMap/calico-config in namespace kube-system with checksum=cab037c83045f76a66ee4a905c58772f
I, [2018-07-16T13:52:09.054378 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/bgpconfigurations.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.121325 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/bgpconfigurations.crd.projectcalico.org <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.060s
I, [2018-07-16T13:52:09.124802 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/bgppeers.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.189580 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/bgppeers.crd.projectcalico.org <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.055s
I, [2018-07-16T13:52:09.193911 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/clusterinformations.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.256352 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/clusterinformations.crd.projectcalico.org <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.058s
I, [2018-07-16T13:52:09.257554 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/felixconfigurations.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.312746 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/felixconfigurations.crd.projectcalico.org <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.052s
I, [2018-07-16T13:52:09.319001 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/globalnetworkpolicies.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.372079 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/globalnetworkpolicies.crd.projectcalico.org <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.051s
I, [2018-07-16T13:52:09.375456 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/globalnetworksets.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.440136 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/globalnetworksets.crd.projectcalico.org <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.058s
I, [2018-07-16T13:52:09.449408 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/hostendpoints.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.500977 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/hostendpoints.crd.projectcalico.org <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.048s
I, [2018-07-16T13:52:09.501840 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/ippools.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.555043 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/ippools.crd.projectcalico.org <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.051s
I, [2018-07-16T13:52:09.559596 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/networkpolicies.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.615658 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/networkpolicies.crd.projectcalico.org <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.048s
I, [2018-07-16T13:52:09.619765 #1]  INFO -- Pharos::Kube::Stack<calico>: Update resource extensions/v1beta1:DaemonSet/calico-node in namespace kube-system with checksum=9a3179849bdf0727aad7194a77e8c4dd
I, [2018-07-16T13:52:09.682940 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: PUT /apis/extensions/v1beta1/namespaces/kube-system/daemonsets/calico-node <Pharos::Kube::Resource> => HTTP 200: <Pharos::Kube::Resource> in 0.057s
I, [2018-07-16T13:52:09.747867 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: GET /apis => HTTP 200: <Pharos::Kube::API::MetaV1::APIGroupList> in 0.048s
I, [2018-07-16T13:52:09.859026 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/apiregistration.k8s.io/v1, GET /apis/apps/v1, GET /apis/events.k8s.io/v1beta1, GET /apis/authentication.k8s.io/v1, GET /apis/authorization.k8s.io/v1, GET /apis/autoscaling/v1, GET /apis/batch/v1, GET /apis/certificates.k8s.io/v1beta1, GET /apis/networking.k8s.io/v1, GET /apis/policy/v1beta1, GET /apis/rbac.authorization.k8s.io/v1, GET /apis/storage.k8s.io/v1, GET /apis/admissionregistration.k8s.io/v1beta1, GET /apis/metrics.k8s.io/v1beta1] => HTTP [200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200] in 0.111s
D, [2018-07-16T13:52:09.859188 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in v1...
I, [2018-07-16T13:52:09.997877 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /api/v1/componentstatuses?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/configmaps?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/endpoints?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/events?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/limitranges?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/namespaces?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/nodes?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/persistentvolumeclaims?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/persistentvolumes?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/pods?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/podtemplates?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/replicationcontrollers?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/resourcequotas?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/secrets?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/serviceaccounts?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /api/v1/services?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200] in 0.137s
D, [2018-07-16T13:52:09.999879 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource v1:ConfigMap/calico-config in namespace kube-system with checksum=cab037c83045f76a66ee4a905c58772f
D, [2018-07-16T13:52:10.000528 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource v1:ServiceAccount/calico-node in namespace kube-system with checksum=cab037c83045f76a66ee4a905c58772f
D, [2018-07-16T13:52:10.000736 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in apiregistration.k8s.io/v1...
I, [2018-07-16T13:52:10.058127 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/apiregistration.k8s.io/v1/apiservices?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200] in 0.057s
D, [2018-07-16T13:52:10.058711 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in extensions/v1beta1...
I, [2018-07-16T13:52:10.182375 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/extensions/v1beta1/daemonsets?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/extensions/v1beta1/deployments?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/extensions/v1beta1/ingresses?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/extensions/v1beta1/networkpolicies?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/extensions/v1beta1/podsecuritypolicies?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/extensions/v1beta1/replicasets?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200, 200, 200, 200, 200, 200] in 0.122s
D, [2018-07-16T13:52:10.183369 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource extensions/v1beta1:DaemonSet/calico-node in namespace kube-system with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:10.183501 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in apps/v1...
I, [2018-07-16T13:52:10.321548 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/apps/v1/controllerrevisions?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/apps/v1/daemonsets?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/apps/v1/deployments?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/apps/v1/replicasets?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/apps/v1/statefulsets?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200, 200, 200, 200, 200] in 0.138s
D, [2018-07-16T13:52:10.323743 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apps/v1:DaemonSet/calico-node in namespace kube-system with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:10.323969 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in events.k8s.io/v1beta1...
I, [2018-07-16T13:52:10.388873 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/events.k8s.io/v1beta1/events?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200] in 0.064s
D, [2018-07-16T13:52:10.389165 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in authentication.k8s.io/v1...
D, [2018-07-16T13:52:10.389373 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in authorization.k8s.io/v1...
D, [2018-07-16T13:52:10.389580 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in autoscaling/v1...
I, [2018-07-16T13:52:10.439742 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/autoscaling/v1/horizontalpodautoscalers?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200] in 0.050s
D, [2018-07-16T13:52:10.439972 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in batch/v1...
I, [2018-07-16T13:52:10.493100 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/batch/v1/jobs?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200] in 0.052s
D, [2018-07-16T13:52:10.493650 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in certificates.k8s.io/v1beta1...
I, [2018-07-16T13:52:10.548994 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/certificates.k8s.io/v1beta1/certificatesigningrequests?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200] in 0.053s
D, [2018-07-16T13:52:10.549542 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in networking.k8s.io/v1...
I, [2018-07-16T13:52:10.596787 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/networking.k8s.io/v1/networkpolicies?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200] in 0.046s
D, [2018-07-16T13:52:10.596867 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in policy/v1beta1...
I, [2018-07-16T13:52:10.693617 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/policy/v1beta1/poddisruptionbudgets?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/policy/v1beta1/podsecuritypolicies?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200, 200] in 0.097s
D, [2018-07-16T13:52:10.693700 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in rbac.authorization.k8s.io/v1...
I, [2018-07-16T13:52:10.802230 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/rbac.authorization.k8s.io/v1/clusterrolebindings?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/rbac.authorization.k8s.io/v1/clusterroles?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/rbac.authorization.k8s.io/v1/rolebindings?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/rbac.authorization.k8s.io/v1/roles?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200, 200, 200, 200] in 0.108s
D, [2018-07-16T13:52:10.802700 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource rbac.authorization.k8s.io/v1:ClusterRoleBinding/calico-node in namespace  with checksum=cab037c83045f76a66ee4a905c58772f
D, [2018-07-16T13:52:10.802877 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource rbac.authorization.k8s.io/v1:ClusterRole/calico-node in namespace  with checksum=cab037c83045f76a66ee4a905c58772f
D, [2018-07-16T13:52:10.802948 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in storage.k8s.io/v1...
I, [2018-07-16T13:52:10.856093 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/storage.k8s.io/v1/storageclasses?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200] in 0.053s
D, [2018-07-16T13:52:10.856457 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in admissionregistration.k8s.io/v1beta1...
I, [2018-07-16T13:52:10.955458 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200, 200] in 0.098s
D, [2018-07-16T13:52:10.955550 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in apiextensions.k8s.io/v1beta1...
I, [2018-07-16T13:52:11.010766 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200] in 0.055s
D, [2018-07-16T13:52:11.016898 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/bgpconfigurations.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:11.017767 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/bgppeers.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:11.018229 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/clusterinformations.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:11.018503 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/felixconfigurations.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:11.018763 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/globalnetworkpolicies.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:11.019198 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/globalnetworksets.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:11.019448 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/hostendpoints.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:11.019674 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/ippools.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:11.019897 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resource apiextensions.k8s.io/v1beta1:CustomResourceDefinition/networkpolicies.crd.projectcalico.org in namespace  with checksum=9a3179849bdf0727aad7194a77e8c4dd
D, [2018-07-16T13:52:11.019958 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in crd.projectcalico.org/v1...
I, [2018-07-16T13:52:11.230680 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/crd.projectcalico.org/v1/networkpolicies?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/crd.projectcalico.org/v1/globalnetworksets?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/crd.projectcalico.org/v1/ippools?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/crd.projectcalico.org/v1/felixconfigurations?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/crd.projectcalico.org/v1/globalnetworkpolicies?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/crd.projectcalico.org/v1/bgpconfigurations?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/crd.projectcalico.org/v1/clusterinformations?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/crd.projectcalico.org/v1/bgppeers?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/crd.projectcalico.org/v1/hostendpoints?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200, 200, 200, 200, 200, 200, 200, 200, 200] in 0.210s
D, [2018-07-16T13:52:11.230780 #1] DEBUG -- Pharos::Kube::Stack<calico>: List resources in metrics.k8s.io/v1beta1...
I, [2018-07-16T13:52:11.325095 #1]  INFO -- Pharos::Kube::Transport<https://167.99.39.233:6443>: [GET /apis/metrics.k8s.io/v1beta1/nodes?labelSelector=pharos.kontena.io%2Fstack%3Dcalico, GET /apis/metrics.k8s.io/v1beta1/pods?labelSelector=pharos.kontena.io%2Fstack%3Dcalico] => HTTP [200, 200] in 0.094s
    Completed Configure Calico network @ 167.99.39.233 in 2.741s