Update longhorn.sh

This commit is contained in:
tehNooB 2023-10-18 15:07:00 +01:00 committed by GitHub
parent 125488de71
commit 098bc4aa23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -61,10 +61,9 @@ kubectl get pods \
--namespace longhorn-system \
--watch
# Step 3: Expose UI
kubectl expose deployment longhorn-ui --name=longhorn-lb --port=80 --type=LoadBalancer -n longhorn-system
# Step 3: Print out confirmation
kubectl get nodes
kubectl get svc -n longhorn-system
echo -e " \033[32;5mHappy Kubing! Access Longhorn at EXTERNAL-IP above\033[0m"
echo -e " \033[32;5mHappy Kubing! Access Longhorn through Rancher UI\033[0m"