openfass
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
curl -sLS https://dl.get-arkade.dev | sudo sh | |
ark --help | |
arkade info openfaas | |
arkade install openfaas | |
kubectl -n openfaas get deployments -l "release=openfaas, app=openfaas" | |
curl -SLsf https://cli.openfaas.com | sudo sh | |
kubectl rollout status -n openfaas deploy/gateway | |
kubectl port-forward --address 0.0.0.0 -n openfaas svc/gateway 8080:8080 & | |
PASSWORD=$(kubectl get secret -n openfaas basic-auth -o jsonpath="{.data.basic-auth-password}" | base64 --decode; echo) | |
echo -n $PASSWORD | faas-cli login --username admin --password-stdin | |
echo $PASSWORD | |
tz6m1nR9y1CZg0S00ghUuE443 | |
kubectl get svc --all-namespaces | |
https://2886795330-31112-elsy04.environments.katacoda.com/ui/ | |
arkade install jenkins | |
export USER=$(kubectl get secret jenkins \ | |
-o jsonpath="{.data.jenkins-admin-user}" | base64 --decode) | |
export PASS=$(kubectl get secret jenkins \ | |
-o jsonpath="{.data.jenkins-admin-password}" | base64 --decode) | |
echo "Credentials: $USER / $PASS" | |
kubectl get svc --all-namespaces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment