Skip to content

Instantly share code, notes, and snippets.

@dionysius
Last active August 16, 2019 11:10
Show Gist options
  • Save dionysius/678441bc98cc15dd4d5b713dd815b2f4 to your computer and use it in GitHub Desktop.
Save dionysius/678441bc98cc15dd4d5b713dd815b2f4 to your computer and use it in GitHub Desktop.
$ kubectl -n kube-federation-system logs kubefed-controller-manager-57b8cdbc95-bwqvk | grep -i ServiceDNS
I0816 10:28:33.699589 1 controller.go:88] Starting ServiceDNS controller
I0816 10:28:33.700424 1 reflector.go:131] Starting reflector *v1alpha1.ServiceDNSRecord (0s) from sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:197
I0816 10:28:33.700468 1 reflector.go:169] Listing and watching *v1alpha1.ServiceDNSRecord from sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:197
I0816 10:28:33.701320 1 reflector.go:131] Starting reflector *v1alpha1.Domain (0s) from sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:198
I0816 10:28:33.701518 1 reflector.go:169] Listing and watching *v1alpha1.Domain from sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:198
I0816 10:28:33.791322 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?limit=500&resourceVersion=0 200 OK in 90 milliseconds
I0816 10:28:33.882487 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=499&watch=true 200 OK in 88 milliseconds
I0816 10:28:34.394772 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:28:34.396474 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 47.967µs)
I0816 10:28:36.188512 1 reflector.go:131] Starting reflector *v1alpha1.ServiceDNSRecord (0s) from sigs.k8s.io/kubefed/pkg/controller/dnsendpoint/controller.go:116
I0816 10:28:36.188557 1 reflector.go:169] Listing and watching *v1alpha1.ServiceDNSRecord from sigs.k8s.io/kubefed/pkg/controller/dnsendpoint/controller.go:116
I0816 10:28:36.282527 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?limit=500&resourceVersion=0 200 OK in 93 milliseconds
I0816 10:28:36.289465 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=341&watch=true 200 OK in 5 milliseconds
I0816 10:28:39.481787 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:28:39.482127 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 53.703µs)
I0816 10:28:49.488149 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:28:49.488308 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 46.91µs)
I0816 10:28:57.088692 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:28:57.089208 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 70.698µs)
I0816 10:29:02.107344 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:29:02.107460 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 14.401µs)
I0816 10:29:12.288304 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:29:12.288706 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 60.099µs)
I0816 10:29:32.300212 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:29:32.300317 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 25.313µs)
I0816 10:30:12.396949 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:30:12.397393 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 111.619µs)
I0816 10:31:12.485898 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:31:12.486513 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 211.979µs)
I0816 10:32:12.488697 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:32:12.488865 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 80.59µs)
I0816 10:33:12.489400 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:33:12.489964 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 67.296µs)
I0816 10:34:12.582479 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:34:12.582624 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 37.294µs)
I0816 10:34:17.289137 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/dnsendpoint/controller.go:116: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 10:34:17.291766 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=384&watch=true 200 OK in 2 milliseconds
I0816 10:35:12.585649 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:35:12.586994 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 61.378µs)
I0816 10:36:12.787994 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:36:12.791284 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 58.539µs)
I0816 10:36:52.881407 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:197: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 10:36:52.890372 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=384&watch=true 200 OK in 8 milliseconds
I0816 10:37:12.792886 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:37:12.794403 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 1.363074ms)
I0816 10:37:49.889960 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:198: Watch close - *v1alpha1.Domain total 0 items received
I0816 10:38:12.796809 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:38:12.796942 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 31.933µs)
I0816 10:39:13.081196 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:39:13.081592 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 244.297µs)
I0816 10:40:13.088518 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:40:13.089809 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 54.377µs)
I0816 10:40:41.385837 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/dnsendpoint/controller.go:116: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 10:40:41.390523 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=541&watch=true 200 OK in 4 milliseconds
I0816 10:41:13.091386 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:41:13.091893 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 221.75µs)
I0816 10:42:13.184037 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:42:13.184364 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 37.468µs)
I0816 10:43:13.482122 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:43:13.482879 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 92.295µs)
I0816 10:43:16.984067 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:197: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 10:43:16.987994 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=328&watch=true 200 OK in 2 milliseconds
I0816 10:44:13.483575 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:44:13.483952 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 147.691µs)
I0816 10:45:13.485171 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:45:13.485567 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 41.061µs)
I0816 10:46:13.487215 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:46:13.487437 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 52.339µs)
I0816 10:46:23.981919 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:198: Watch close - *v1alpha1.Domain total 0 items received
I0816 10:47:13.496042 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:47:13.496536 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 35.775µs)
I0816 10:48:13.581301 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:48:13.581700 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 68.422µs)
I0816 10:48:45.084340 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:197: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 10:48:45.184547 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=410&watch=true 200 OK in 99 milliseconds
I0816 10:49:13.589287 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:49:13.589430 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 50.013µs)
I0816 10:49:42.482665 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/dnsendpoint/controller.go:116: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 10:49:42.586649 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=397&watch=true 200 OK in 103 milliseconds
I0816 10:50:13.681243 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:50:13.681675 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 78.661µs)
I0816 10:51:13.688116 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:51:13.690664 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 71.694µs)
I0816 10:52:13.691238 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:52:13.691586 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 33.974µs)
I0816 10:53:13.692232 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:53:13.692359 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 33.522µs)
I0816 10:53:15.988593 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:198: Watch close - *v1alpha1.Domain total 0 items received
I0816 10:54:13.692812 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:54:13.693170 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 100.707µs)
I0816 10:55:13.696376 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:55:13.696498 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 27.725µs)
I0816 10:55:35.090159 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:197: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 10:55:35.095041 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=446&watch=true 200 OK in 4 milliseconds
I0816 10:56:13.697952 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:56:13.698571 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 95.005µs)
I0816 10:56:19.586095 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/dnsendpoint/controller.go:116: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 10:56:19.589338 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=338&watch=true 200 OK in 2 milliseconds
I0816 10:57:13.881769 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:57:13.882574 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 75.498µs)
I0816 10:58:13.884703 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:58:13.885147 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 72.203µs)
I0816 10:59:13.887707 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 10:59:13.887967 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 59.614µs)
I0816 10:59:32.991339 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:198: Watch close - *v1alpha1.Domain total 0 items received
I0816 11:00:13.889090 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 11:00:13.889485 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 33.448µs)
I0816 11:01:13.984237 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 11:01:13.984403 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 46.547µs)
I0816 11:01:57.693620 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/dnsendpoint/controller.go:116: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 11:01:58.186322 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=544&watch=true 200 OK in 197 milliseconds
I0816 11:02:13.989136 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 11:02:13.989332 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 38.494µs)
I0816 11:03:01.183467 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:197: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 11:03:01.191267 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=307&watch=true 200 OK in 7 milliseconds
I0816 11:03:14.017345 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 11:03:14.017474 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 29.153µs)
I0816 11:04:14.085110 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 11:04:14.085409 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 37.954µs)
I0816 11:05:14.090663 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 11:05:14.090875 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 43.019µs)
I0816 11:06:14.181487 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 11:06:14.181607 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 41.846µs)
I0816 11:07:14.186952 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 11:07:14.187129 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 72.39µs)
I0816 11:08:08.188875 1 reflector.go:357] sigs.k8s.io/kubefed/pkg/controller/servicedns/controller.go:197: Watch close - *v1alpha1.ServiceDNSRecord total 0 items received
I0816 11:08:08.282804 1 round_trippers.go:438] GET https://10.96.0.1:443/apis/multiclusterdns.kubefed.io/v1alpha1/servicednsrecords?resourceVersion=3769407&timeoutSeconds=534&watch=true 200 OK in 93 milliseconds
I0816 11:08:14.194243 1 controller.go:266] Starting to reconcile ServiceDNS resource: test-namespace/onlyfederated-service
I0816 11:08:14.194480 1 controller.go:269] Finished reconciling ServiceDNS resource test-namespace/onlyfederated-service (duration: 31.697µs)
$ kubectl -n test-namespace get servicednsrecords.multiclusterdns.kubefed.io onlyfederated-service -o yaml
apiVersion: multiclusterdns.kubefed.io/v1alpha1
kind: ServiceDNSRecord
metadata:
creationTimestamp: "2019-08-16T09:18:47Z"
generation: 1
name: onlyfederated-service
namespace: test-namespace
resourceVersion: "3769407"
selfLink: /apis/multiclusterdns.kubefed.io/v1alpha1/namespaces/test-namespace/servicednsrecords/onlyfederated-service
uid: f2cce75b-efa1-48bf-9299-33a40ca09ff2
spec:
domainRef: cluster1
recordTTL: 300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment