adamant-kite-43734
06/11/2024, 3:01 PMred-king-19196
06/13/2024, 7:12 AM$ curl -X GET "$APISERVER/livez?verbose" --header "Authorization: Bearer $TOKEN" --insecure
[+]ping ok
[+]log ok
[+]etcd ok
[+]poststarthook/start-kube-apiserver-admission-initializer ok
[+]poststarthook/generic-apiserver-start-informers ok
[+]poststarthook/priority-and-fairness-config-consumer ok
[+]poststarthook/priority-and-fairness-filter ok
[+]poststarthook/storage-object-count-tracker-hook ok
[+]poststarthook/start-apiextensions-informers ok
[+]poststarthook/start-apiextensions-controllers ok
[+]poststarthook/crd-informer-synced ok
[+]poststarthook/start-system-namespaces-controller ok
[+]poststarthook/bootstrap-controller ok
[+]poststarthook/rbac/bootstrap-roles ok
[+]poststarthook/scheduling/bootstrap-system-priority-classes ok
[+]poststarthook/priority-and-fairness-config-producer ok
[+]poststarthook/start-cluster-authentication-info-controller ok
[+]poststarthook/start-kube-apiserver-identity-lease-controller ok
[+]poststarthook/start-deprecated-kube-apiserver-identity-lease-garbage-collector ok
[+]poststarthook/start-kube-apiserver-identity-lease-garbage-collector ok
[+]poststarthook/start-legacy-token-tracking-controller ok
[+]poststarthook/aggregator-reload-proxy-client-cert ok
[+]poststarthook/start-kube-aggregator-informers ok
[+]poststarthook/apiservice-registration-controller ok
[+]poststarthook/apiservice-status-available-controller ok
[+]poststarthook/kube-apiserver-autoregistration ok
[+]autoregister-completion ok
[+]poststarthook/apiservice-openapi-controller ok
[+]poststarthook/apiservice-openapiv3-controller ok
[+]poststarthook/apiservice-discovery-controller ok
livez check passed
ancient-pizza-13099
06/13/2024, 8:21 AMred-king-19196
06/13/2024, 9:23 AMcurved-france-25188
06/13/2024, 1:10 PMambitious-daybreak-95996
06/14/2024, 2:10 AMcurl
to hit https://$HARVESTER_VIP/version
The actual commands invoked are:
> kubectl get po -n harvester-system -l <http://app.kubernetes.io/name=harvester|app.kubernetes.io/name=harvester> -l <http://app.kubernetes.io/component=apiserver|app.kubernetes.io/component=apiserver> -o jsonpath='{range .items[*]}{range @.status.conditions[*]}{@.type}={@.status};{end}{"\n"}' | grep "Ready=True"
> kubectl get po -n harvester-system -l <http://app.kubernetes.io/name=harvester|app.kubernetes.io/name=harvester> -l <http://app.kubernetes.io/component=webhook-server|app.kubernetes.io/component=webhook-server> -o jsonpath='{range .items[*]}{range @.status.conditions[*]}{@.type}={@.status};{end}{"\n"}' | grep "Ready=True"
> kubectl get po -n cattle-system -l app=rancher -o jsonpath='{range .items[*]}{range @.status.conditions[*]}{@.type}={@.status};{end}{"\n"}' | grep "Ready=True"
> curl -fk https://$HARVESTER_VIP/version
(It might be possible grep "Ready=True"
is a bit loose, because that also matches ContainersReady=True
even if there's also Ready=False
in the output, but I don't know whether that's an actual problem in practice or not)
This doesn't mean all components of the cluster are up and running, but it does mean enough of the cluster is running that you can talk to it.ambitious-daybreak-95996
06/14/2024, 2:15 AM