Install and verify Knative Serving v1.22
This commit is contained in:
parent
a2e6ac46e8
commit
0703e8e1dd
6 changed files with 67 additions and 6 deletions
9
install/knative/verify.sh
Executable file
9
install/knative/verify.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
target="${1:-railiance01}"
|
||||
ssh "$target" 'set -e
|
||||
test "$(kubectl get namespace knative-serving -o go-template="{{index .metadata.labels \"app.kubernetes.io/version\"}}")" = "1.22.0"
|
||||
test "$(kubectl get service kourier -n kourier-system -o jsonpath="{.spec.type}")" = "ClusterIP"
|
||||
test "$(kubectl get configmap config-network -n knative-serving -o jsonpath="{.data.ingress-class}")" = "kourier.ingress.networking.knative.dev"
|
||||
kubectl wait --for=condition=Available deployment --all -n knative-serving --timeout=120s
|
||||
kubectl wait --for=condition=Available deployment --all -n kourier-system --timeout=120s'
|
||||
Loading…
Add table
Add a link
Reference in a new issue