Skip to content

Instantly share code, notes, and snippets.

@helayoty
Last active July 12, 2019 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save helayoty/2fbb7797d8ba1a2eb09f942b50754fe4 to your computer and use it in GitHub Desktop.
Save helayoty/2fbb7797d8ba1a2eb09f942b50754fe4 to your computer and use it in GitHub Desktop.
#############
# Upgrade jx #
##############
jx version
####################
# Create a cluster #
####################
GITHUB_TOKEN=<put_your_token_here>
SUB=<put_your_azure_subscription_here>
echo "nexus:
enabled: false
" | tee myvalues.yaml
jx create cluster aks \
--cluster-name aksjx \
--location centralus \
--node-vm-size Standard_D2s_v3 \
--nodes 1 \
--resource-group-name jenkinsx \
--subscription $SUB \
--git-api-token $GITHUB_TOKEN \
--no-gitops-vault \
--gitops \
--default-environment-prefix jx-demo \
--default-admin-password admin
#jx install --default-environment-prefix fr --git-api-token $TOKEN --no-gitops-vault --gitops --default-admin-password admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment