Last active
February 23, 2022 23:16
-
-
Save cardil/7f9efbc2f623aec6db3793caedc64fca to your computer and use it in GitHub Desktop.
Installs Serverless on OpenShift (with Serving+Eventing)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl apply -f https://raw.githubusercontent.com/cardil/openshift-serverless-pres-notes/master/serverless-subscription.yaml | |
while ! kubectl get csv -n openshift-serverless -l operators.coreos.com/serverless-operator.openshift-serverless= 1>/dev/null 2>&1; do sleep 1; done | |
kubectl wait --for=jsonpath='{.status.phase}'=Succeeded \ | |
--timeout=5m csv -n openshift-serverless \ | |
-l operators.coreos.com/serverless-operator.openshift-serverless= | |
kubectl apply -f https://raw.githubusercontent.com/cardil/openshift-serverless-pres-notes/master/serverless-bundle.yaml | |
while ! kubectl get knativeserving knative-serving -n knative-serving 1>/dev/null 2>&1; do sleep 1; done | |
kubectl wait --for=condition=Ready --timeout=5m \ | |
knativeserving knative-serving -n knative-serving | |
kubectl wait --for=condition=Ready --timeout=5m \ | |
knativeeventing knative-eventing -n knative-eventing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment