Skip to content

Instantly share code, notes, and snippets.

@lucj
Created January 13, 2022 08:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucj/357c6e2c0bc1a3d461dd2a0c214ce88d to your computer and use it in GitHub Desktop.
Save lucj/357c6e2c0bc1a3d461dd2a0c214ce88d to your computer and use it in GitHub Desktop.
openfunction controller logs
root@faas:~# k logs -n openfunction openfunction-controller-manager-9b69b8c7b-qt97s -c openfunction
I0113 08:10:16.188135 1 request.go:668] Waited for 1.026255862s due to client-side throttling, not priority and fairness, request: GET:https://10.96.0.1:443/apis/external.metrics.k8s.io/v1beta1?timeout=32s
2022-01-13T08:10:16.695Z INFO controller-runtime.metrics metrics server is starting to listen {"addr": "127.0.0.1:8080"}
2022-01-13T08:10:16.696Z INFO controller-runtime.builder Registering a mutating webhook {"GVK": "core.openfunction.io/v1alpha2, Kind=Serving", "path": "/mutate-core-openfunction-io-v1alpha2-serving"}
2022-01-13T08:10:16.696Z INFO controller-runtime.webhook registering webhook {"path": "/mutate-core-openfunction-io-v1alpha2-serving"}
2022-01-13T08:10:16.696Z INFO controller-runtime.builder skip registering a validating webhook, admission.Validator interface is not implemented {"GVK": "core.openfunction.io/v1alpha2, Kind=Serving"}
2022-01-13T08:10:16.696Z INFO controller-runtime.webhook registering webhook {"path": "/convert"}
2022-01-13T08:10:16.696Z INFO controller-runtime.builder conversion webhook enabled {"object": {"metadata":{"creationTimestamp":null},"spec":{"image":"","runtime":null},"status":{}}}
2022-01-13T08:10:16.698Z INFO controller-runtime.builder Registering a mutating webhook {"GVK": "core.openfunction.io/v1alpha2, Kind=Function", "path": "/mutate-core-openfunction-io-v1alpha2-function"}
2022-01-13T08:10:16.698Z INFO controller-runtime.webhook registering webhook {"path": "/mutate-core-openfunction-io-v1alpha2-function"}
2022-01-13T08:10:16.698Z INFO controller-runtime.builder skip registering a validating webhook, admission.Validator interface is not implemented {"GVK": "core.openfunction.io/v1alpha2, Kind=Function"}
2022-01-13T08:10:16.698Z INFO controller-runtime.builder conversion webhook enabled {"object": {"metadata":{"creationTimestamp":null},"spec":{"image":""},"status":{}}}
2022-01-13T08:10:16.698Z INFO setup starting manager
I0113 08:10:16.698822 1 leaderelection.go:243] attempting to acquire leader lease openfunction/79f0111e.openfunction.io...
2022-01-13T08:10:16.698Z INFO starting metrics server {"path": "/metrics"}
2022-01-13T08:10:16.699Z INFO controller-runtime.webhook.webhooks starting webhook server
2022-01-13T08:10:16.699Z INFO controller-runtime.certwatcher Updated current TLS certificate
2022-01-13T08:10:16.699Z INFO controller-runtime.webhook serving webhook server {"host": "", "port": 9443}
2022-01-13T08:10:16.699Z INFO controller-runtime.certwatcher Starting certificate watcher
I0113 08:10:16.717498 1 leaderelection.go:253] successfully acquired lease openfunction/79f0111e.openfunction.io
2022-01-13T08:10:16.717Z DEBUG events Normal {"object": {"kind":"ConfigMap","namespace":"openfunction","name":"79f0111e.openfunction.io","uid":"7bca03c9-19f7-4383-bede-e55cb91fae43","apiVersion":"v1","resourceVersion":"1482643684"}, "reason": "LeaderElection", "message": "openfunction-controller-manager-9b69b8c7b-qt97s_eee07bbb-a420-41c4-a715-6fa535e938d7 became leader"}
2022-01-13T08:10:16.717Z DEBUG events Normal {"object": {"kind":"Lease","namespace":"openfunction","name":"79f0111e.openfunction.io","uid":"8221a7f8-1da3-4753-9c75-a9cb35ba485f","apiVersion":"coordination.k8s.io/v1","resourceVersion":"1482643689"}, "reason": "LeaderElection", "message": "openfunction-controller-manager-9b69b8c7b-qt97s_eee07bbb-a420-41c4-a715-6fa535e938d7 became leader"}
2022-01-13T08:10:16.718Z INFO controller.trigger Starting EventSource {"reconciler group": "events.openfunction.io", "reconciler kind": "Trigger", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.718Z INFO controller.trigger Starting EventSource {"reconciler group": "events.openfunction.io", "reconciler kind": "Trigger", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.718Z INFO controller.trigger Starting EventSource {"reconciler group": "events.openfunction.io", "reconciler kind": "Trigger", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.718Z INFO controller.trigger Starting Controller {"reconciler group": "events.openfunction.io", "reconciler kind": "Trigger"}
2022-01-13T08:10:16.718Z INFO controller.function Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Function", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.718Z INFO controller.function Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Function", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.718Z INFO controller.function Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Function", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.718Z INFO controller.function Starting Controller {"reconciler group": "core.openfunction.io", "reconciler kind": "Function"}
2022-01-13T08:10:16.718Z INFO controller.builder Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Builder", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.718Z INFO controller.builder Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Builder", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.718Z INFO controller.builder Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Builder", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.718Z INFO controller.builder Starting Controller {"reconciler group": "core.openfunction.io", "reconciler kind": "Builder"}
2022-01-13T08:10:16.718Z INFO controller.serving Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.serving Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.serving Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.serving Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.serving Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.serving Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.serving Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.serving Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.serving Starting Controller {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving"}
2022-01-13T08:10:16.719Z INFO controller.domain Starting EventSource {"reconciler group": "core.openfunction.io", "reconciler kind": "Domain", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.domain Starting Controller {"reconciler group": "core.openfunction.io", "reconciler kind": "Domain"}
2022-01-13T08:10:16.719Z INFO controller.eventsource Starting EventSource {"reconciler group": "events.openfunction.io", "reconciler kind": "EventSource", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.eventsource Starting EventSource {"reconciler group": "events.openfunction.io", "reconciler kind": "EventSource", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.eventsource Starting EventSource {"reconciler group": "events.openfunction.io", "reconciler kind": "EventSource", "source": "kind source: /, Kind="}
2022-01-13T08:10:16.719Z INFO controller.eventsource Starting Controller {"reconciler group": "events.openfunction.io", "reconciler kind": "EventSource"}
2022-01-13T08:10:19.720Z INFO controller.trigger Starting workers {"reconciler group": "events.openfunction.io", "reconciler kind": "Trigger", "worker count": 1}
2022-01-13T08:10:19.728Z INFO controller.function Starting workers {"reconciler group": "core.openfunction.io", "reconciler kind": "Function", "worker count": 1}
2022-01-13T08:10:19.731Z INFO controller.builder Starting workers {"reconciler group": "core.openfunction.io", "reconciler kind": "Builder", "worker count": 1}
2022-01-13T08:10:19.731Z INFO controller.domain Starting workers {"reconciler group": "core.openfunction.io", "reconciler kind": "Domain", "worker count": 1}
2022-01-13T08:10:19.731Z INFO controller.serving Starting workers {"reconciler group": "core.openfunction.io", "reconciler kind": "Serving", "worker count": 1}
2022-01-13T08:10:19.731Z INFO controller.eventsource Starting workers {"reconciler group": "events.openfunction.io", "reconciler kind": "EventSource", "worker count": 1}
2022-01-13T08:10:19.839Z DEBUG controllers.Domain Domain created {"Domain": "io/openfunction"}
2022-01-13T08:12:59.803Z DEBUG controller-runtime.webhook.webhooks received request {"webhook": "/mutate-core-openfunction-io-v1alpha2-function", "UID": "af52f2cf-b5e8-472a-b7de-d4b788ceecdc", "kind": "core.openfunction.io/v1alpha2, Kind=Function", "resource": {"group":"core.openfunction.io","version":"v1alpha2","resource":"functions"}}
2022-01-13T08:12:59.811Z INFO function-resource default {"name": "messages"}
2022-01-13T08:12:59.812Z DEBUG controller-runtime.webhook.webhooks wrote response {"webhook": "/mutate-core-openfunction-io-v1alpha2-function", "code": 200, "reason": "", "UID": "af52f2cf-b5e8-472a-b7de-d4b788ceecdc", "allowed": true}
2022-01-13T08:12:59.824Z DEBUG controllers.Function.NeedToCreateBuilder Builder not created {"Function": "default/messages"}
2022-01-13T08:12:59.876Z DEBUG controllers.Function.CreateBuilder Builder created {"Function": "default/messages", "Builder": "builder-whq7g"}
2022-01-13T08:12:59.876Z DEBUG controllers.Function.NeedToCreateServing Build not completed {"Function": "default/messages"}
2022-01-13T08:12:59.876Z DEBUG controllers.Function.CreateServing No need to create Serving {"Function": "default/messages"}
2022-01-13T08:12:59.877Z DEBUG controllers.Function.CreateBuilder No need to create Builder {"Function": "default/messages"}
2022-01-13T08:12:59.877Z DEBUG controllers.Function.NeedToCreateServing Build not completed {"Function": "default/messages"}
2022-01-13T08:12:59.877Z DEBUG controllers.Function.CreateServing No need to create Serving {"Function": "default/messages"}
2022-01-13T08:13:00.886Z DEBUG controllers.Builder.Shipwright.Start Build created {"Builder": "default/builder-whq7g", "Build": "builder-whq7g-build-w5k94"}
2022-01-13T08:13:00.896Z DEBUG controllers.Builder.Shipwright.Start BuildRun created {"Builder": "default/builder-whq7g", "BuildRun": "builder-whq7g-buildrun-4n57q"}
2022-01-13T08:13:00.903Z DEBUG controllers.Builder Builder is running {"Builder": "default/builder-whq7g"}
2022-01-13T08:13:00.913Z DEBUG controllers.Function.CreateBuilder No need to create Builder {"Function": "default/messages"}
2022-01-13T08:13:00.913Z DEBUG controllers.Function.NeedToCreateServing Build not completed {"Function": "default/messages"}
2022-01-13T08:13:00.913Z DEBUG controllers.Function.CreateServing No need to create Serving {"Function": "default/messages"}
2022-01-13T08:13:00.913Z DEBUG controllers.Function.CreateBuilder No need to create Builder {"Function": "default/messages"}
2022-01-13T08:13:00.913Z DEBUG controllers.Function.NeedToCreateServing Build not completed {"Function": "default/messages"}
2022-01-13T08:13:00.913Z DEBUG controllers.Function.CreateServing No need to create Serving {"Function": "default/messages"}
2022-01-13T08:14:12.068Z DEBUG controllers.Builder.GetBuilderResult Update builder status {"Builder": "default/builder-whq7g", "state": "Succeeded"}
2022-01-13T08:14:12.068Z DEBUG controllers.Builder Build had completed {"Builder": "default/builder-whq7g"}
2022-01-13T08:14:12.088Z DEBUG controllers.Function.PruneBuilder Delete Builder {"Function": "default/messages", "builder": "builder-whq7g"}
2022-01-13T08:14:12.088Z DEBUG controllers.Function.CreateBuilder No need to create Builder {"Function": "default/messages"}
2022-01-13T08:14:12.088Z DEBUG controllers.Function.NeedToCreateServing Serving not created {"Function": "default/messages"}
2022-01-13T08:14:12.088Z DEBUG controllers.Builder Builder deleted {"Builder": "default/builder-whq7g"}
2022-01-13T08:14:12.214Z DEBUG controller-runtime.webhook.webhooks received request {"webhook": "/mutate-core-openfunction-io-v1alpha2-serving", "UID": "46b6368c-b502-4d2a-8ab6-df4d2f35d00c", "kind": "core.openfunction.io/v1alpha2, Kind=Serving", "resource": {"group":"core.openfunction.io","version":"v1alpha2","resource":"servings"}}
2022-01-13T08:14:12.220Z INFO serving-resource default {"name": ""}
2022-01-13T08:14:12.220Z DEBUG controller-runtime.webhook.webhooks wrote response {"webhook": "/mutate-core-openfunction-io-v1alpha2-serving", "code": 200, "reason": "", "UID": "46b6368c-b502-4d2a-8ab6-df4d2f35d00c", "allowed": true}
2022-01-13T08:14:12.285Z DEBUG controllers.Function.CreateServing Serving created {"Function": "default/messages", "Serving": "serving-xtft9"}
2022-01-13T08:14:12.285Z DEBUG controllers.Function.CreateBuilder No need to create Builder {"Function": "default/messages"}
2022-01-13T08:14:12.285Z DEBUG controllers.Function.CreateServing No need to create Serving {"Function": "default/messages"}
2022-01-13T08:14:12.513Z DEBUG controllers.Serving.Knative.Run Service created {"Serving": "default/serving-xtft9", "Service": "serving-xtft9-ksvc-9csdm"}
2022-01-13T08:14:12.521Z DEBUG controllers.Function.CreateBuilder No need to create Builder {"Function": "default/messages"}
2022-01-13T08:14:12.521Z DEBUG controllers.Function.CreateServing No need to create Serving {"Function": "default/messages"}
2022-01-13T08:14:12.522Z DEBUG controllers.Serving Serving is starting {"Serving": "default/serving-xtft9"}
2022-01-13T08:14:12.530Z DEBUG controllers.Function.CreateBuilder No need to create Builder {"Function": "default/messages"}
2022-01-13T08:14:12.530Z DEBUG controllers.Function.CreateServing No need to create Serving {"Function": "default/messages"}
2022-01-13T08:14:12.557Z DEBUG controllers.Builder Builder deleted {"Builder": "default/builder-whq7g"}
2022-01-13T08:14:12.558Z DEBUG controllers.Builder Builder deleted {"Builder": "default/builder-whq7g"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment