[root@node1 ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-backend-0 1/1 Running 0 11m
[root@node1 ~]# kubectl -n metacontroller logs -f --tail 10 metacontroller-0
}
}
},
"finalizing": false
}
I1229 08:14:54.972159 1 webhook.go:54] DEBUG: webhook timeout: 10s
I1229 08:14:54.982961 1 webhook.go:66] DEBUG: webhook url: http://catset-controller.metacontroller/sync response body: {"status":{"replicas":1,"readyReplicas":1},"children":[{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"nginx-backend-1"},"spec":{"containers":[{"image":"nginx:stable-alpine","name":"nginx","ports":[{"containerPort":80,"name":"web"}],"volumeMounts":[{"mountPath":"/usr/share/nginx/html","name":"www"}]}],"terminationGracePeriodSeconds":1,"hostname":"nginx-backend-1","subdomain":"nginx-backend","volumes":[{"name":"www","persistentVolumeClaim":{"claimName":"www-nginx-backend-1"}}]},"apiVersion":"v1","kind":"Pod"},{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"nginx-backend-0"},"spec":{"containers":[{"image":"nginx:stable-alpine","name":"nginx","ports":[{"containerPort":80,"name":"web"}],"volumeMounts":[{"mountPath":"/usr/share/nginx/html","name":"www"}]}],"terminationGracePeriodSeconds":1,"hostname":"nginx-backend-0","subdomain":"nginx-backend","volumes":[{"name":"www","persistentVolumeClaim":{"claimName":"www-nginx-backend-0"}}]},"apiVersion":"v1","kind":"Pod"},{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"www-nginx-backend-0"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"apiVersion":"v1","kind":"PersistentVolumeClaim"},{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"www-nginx-backend-1"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"apiVersion":"v1","kind":"PersistentVolumeClaim"},{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"www-nginx-backend-2"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"apiVersion":"v1","kind":"PersistentVolumeClaim"}]}
I1229 08:14:54.984309 1 webhook.go:66] DEBUG: webhook url: http://catset-controller.metacontroller/sync response body: {"status":{"replicas":1,"readyReplicas":1},"children":[{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"nginx-backend-1"},"spec":{"containers":[{"image":"nginx:stable-alpine","name":"nginx","ports":[{"containerPort":80,"name":"web"}],"volumeMounts":[{"mountPath":"/usr/share/nginx/html","name":"www"}]}],"terminationGracePeriodSeconds":1,"hostname":"nginx-backend-1","subdomain":"nginx-backend","volumes":[{"name":"www","persistentVolumeClaim":{"claimName":"www-nginx-backend-1"}}]},"apiVersion":"v1","kind":"Pod"},{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"nginx-backend-0"},"spec":{"containers":[{"image":"nginx:stable-alpine","name":"nginx","ports":[{"containerPort":80,"name":"web"}],"volumeMounts":[{"mountPath":"/usr/share/nginx/html","name":"www"}]}],"terminationGracePeriodSeconds":1,"hostname":"nginx-backend-0","subdomain":"nginx-backend","volumes":[{"name":"www","persistentVolumeClaim":{"claimName":"www-nginx-backend-0"}}]},"apiVersion":"v1","kind":"Pod"},{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"www-nginx-backend-0"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"apiVersion":"v1","kind":"PersistentVolumeClaim"},{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"www-nginx-backend-1"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"apiVersion":"v1","kind":"PersistentVolumeClaim"},{"metadata":{"labels":{"app":"nginx","component":"backend"},"name":"www-nginx-backend-2"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}},"storageClassName":"standard"},"apiVersion":"v1","kind":"PersistentVolumeClaim"}]}
I1229 08:14:54.985102 1 controller_revision.go:277] CatSet default/nginx-backend: updating ControllerRevision catsets.ctl.enisoc.com-4006d259a964ee57dd922da9a45e2c6ed993b02d
E1229 08:14:54.990604 1 controller.go:223] failed to sync CatSet "default/nginx-backend": CatSet default/nginx-backend: can't reconcile ControllerRevisions: can't update ControllerRevision catsets.ctl.enisoc.com-4006d259a964ee57dd922da9a45e2c6ed993b02d for CatSet default/nginx-backend: controllerrevisions.metacontroller.k8s.io "catsets.ctl.enisoc.com-4006d259a964ee57dd922da9a45e2c6ed993b02d" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update