To get ArgoCD default admin password after installation, run:
kubectl -n argocd get secret argocd-initial-admin-secret \
-o jsonpath="{.data.password}" | base64 -d; echo
The default admin user is admin.
| [CmdletBinding()] | |
| param ( | |
| $authorisation, | |
| $pathFilter, | |
| $collectionUri, | |
| $project, | |
| $buildId | |
| ) | |
| $changesUrl = "$collectionUri/$project/_apis/build/builds/$buildId/changes?api-version=6.0" |
| #!/usr/bin/env python3 | |
| import argparse | |
| import requests | |
| import json | |
| import urllib3 | |
| from urllib.parse import urlparse | |
| import os | |
| import re | |
| from getpass import getpass |
| ################################################### | |
| ## | |
| ## Alertmanager YAML configuration for routing. | |
| ## | |
| ## Will route alerts with a code_owner label to the slack-code-owners receiver | |
| ## configured above, but will continue processing them to send to both a | |
| ## central Slack channel (slack-monitoring) and PagerDuty receivers | |
| ## (pd-warning and pd-critical) | |
| ## |
| kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod |
| # !/bin/bash | |
| # Remove all files in these directories. | |
| rm -rf ~/.helm/cache/archive/* | |
| rm -rf ~/.helm/repository/cache/* | |
| # Refreash repository configurations | |
| helm repo update | |
| #That's all. | |
| #If you "helm search" next time, you can find newest stable charts in repository. |
| DUMP | |
| // pod-name name of the postgres pod | |
| // postgres-user database user that is able to access the database | |
| // database-name name of the database | |
| kubectl exec [pod-name] -- bash -c "pg_dump -U [postgres-user] [database-name]" > database.sql | |
| RESTORE | |
| // pod-name name of the postgres pod | |
| // postgres-user database user that is able to access the database | |
| // database-name name of the database |
# start up a cluster
KUBERNETES_PROVIDER=vagrant ./cluster/kube-up.sh
# start a simple vagrant cluster
NUM_NODES=1 KUBERNETES_PROVIDER=vagrant KUBE_ENABLE_CLUSTER_MONITORING=none KUBE_ENABLE_CLUSTER_UI=false ./cluster/kube-up.sh
# validate cluster
./cluster/validate-cluster.sh
kubectl cluster-info