Created
March 14, 2021 18:19
-
-
Save vfarcic/4886c4b4af6aa9469821dc12d42819cb to your computer and use it in GitHub Desktop.
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
################################## | |
# Portainer # | |
# Container Management Made Easy # | |
# https://youtu.be/-mWUbDHTEkQ # | |
################################## | |
######### | |
# Setup # | |
######### | |
# Create a k8s cluster with NGINX Ingress controller | |
helm repo add portainer \ | |
https://portainer.github.io/k8s/ | |
helm repo update | |
git clone https://github.com/vfarcic/portainer-demo.git | |
cd portainer-demo | |
# Replace `[...]` with the base address used to access the cluster through the NGINX Ingress controller | |
export PORTAINER_ADDR=[...] # e.g., portainer.[IP].xip.io | |
cat values.yaml.orig \ | |
| sed "s@portainer.acme.com@$PORTAINER_ADDR@g" \ | |
| tee values.yaml | |
################ | |
# Installation # | |
################ | |
helm upgrade --install \ | |
portainer portainer/portainer \ | |
--namespace portainer \ | |
--create-namespace \ | |
--values values.yaml \ | |
--wait | |
# Open it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment