Last active
February 7, 2022 22:15
-
-
Save lalitkale/caf286f40b7628509a5a1c87aff7efe6 to your computer and use it in GitHub Desktop.
Install Spinnaker on MiniKube
This file contains hidden or 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
# Minikube addons | |
https://github.com/kubernetes/minikube/blob/master/docs/addons.md | |
#start minikube | |
minikube start --vm-driver hyperv --hyperv-virtual-switch "VMVirtualSwitch" --memory 12288 --cpus 4 | |
#or | |
minikube start --vm-driver="hyperv" --hyperv-virtual-switch="VMVirtualSwitch" --v=7 --alsologtostderr | |
# minikube Patch Enviornemnt for Helm | |
$(minikube docker-env) | |
helm init --service-account default | |
# if you face problem with this step, Run kubectl -n kube-system delete deploy tiller-deploy and | |
# Re-run helm init --service-account default again. | |
#download values.yaml at this step. | |
#Install Spinnaker | |
helm install -n kubelive stable/spinnaker -f values.yaml --timeout 300 --version 0.3.5 --namespace spinnaker |
This file contains hidden or 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
# Define which registries and repositories you want available in your | |
# Spinnaker pipeline definitions | |
# For more info visit: | |
# https://www.spinnaker.io/setup/providers/docker-registry/ | |
# Configure your Docker registries here | |
accounts: | |
- name: dockerhub | |
address: https://index.docker.io | |
repositories: | |
- library/alpine | |
- library/ubuntu | |
- library/centos | |
- library/nginx | |
# - name: gcr | |
# address: https://gcr.io | |
# username: _json_key | |
# password: '<INSERT YOUR SERVICE ACCOUNT JSON HERE>' | |
# email: [email protected] | |
# Settings for notifications via email | |
# For more info visit: | |
# https://www.spinnaker.io/setup/features/notifications/#email | |
kubeConfig: | |
# Use this when you want to register arbitrary clusters with Spinnaker | |
# Upload your ~/kube/.config to a secret | |
enabled: false | |
secretName: my-kubeconfig | |
secretKey: config | |
# List of contexts from the kubeconfig to make available to Spinnaker | |
contexts: [] | |
mail: | |
enabled: false | |
host: smtp.example.org | |
username: admin | |
password: admin | |
fromAddress: [email protected] | |
port: 25 | |
slack: | |
enabled: false | |
token: | |
botName: 'spinnakerbot' | |
# Images for each component | |
images: | |
clouddriver: gcr.io/spinnaker-marketplace/clouddriver:2.0.0-20180221152902 | |
echo: gcr.io/spinnaker-marketplace/echo:0.8.0-20180221133510 | |
deck: gcr.io/spinnaker-marketplace/deck:2.1.0-20180221143146 | |
igor: gcr.io/spinnaker-marketplace/igor:0.9.0-20180221133510 | |
orca: gcr.io/spinnaker-marketplace/orca:0.10.0-20180221133510 | |
gate: gcr.io/spinnaker-marketplace/gate:0.10.0-20180221133510 | |
front50: gcr.io/spinnaker-marketplace/front50:0.9.0-20180221133510 | |
rosco: gcr.io/spinnaker-marketplace/rosco:0.5.0-20180221133510 | |
# Change this if youd like to expose Spinnaker outside the cluster | |
deck: | |
host: localhost | |
port: 9000 | |
protocol: http | |
ingress: | |
enabled: false | |
# annotations: | |
# ingress.kubernetes.io/ssl-redirect: 'true' | |
# kubernetes.io/ingress.class: nginx | |
# kubernetes.io/tls-acme: "true" | |
# tls: | |
# - secretName: -tls | |
# hosts: | |
# - domain.com | |
gate: | |
allowedOriginsPattern: '^https?://(?:localhost|127.0.0.1|[^/]+\.example\.com)(?::[1-9]\d*)?/?$' | |
# Bucket to use when storing config data in S3 compatible storage | |
storageBucket: spinnaker | |
# Change service type for UI service | |
serviceType: ClusterIP | |
# Resources to provide to each of | |
# the Spinnaker components | |
resources: | |
limits: | |
cpu: 1000m | |
memory: 1280Mi | |
requests: | |
cpu: 1000m | |
memory: 1280Mi | |
# Node labels for pod assignment | |
# Ref: https://kubernetes.io/docs/user-guide/node-selection/ | |
# nodeSelector to provide to each of the Spinnaker components | |
nodeSelector: {} | |
# Redis password to use for the in-cluster redis service | |
# Redis is not exposed publically | |
redis: | |
redisPassword: password | |
nodeSelector: {} | |
# Minio access/secret keys for the in-cluster S3 usage | |
# Minio is not exposed publically | |
minio: | |
enabled: true | |
imageTag: RELEASE.2016-11-26T02-23-47Z | |
serviceType: ClusterIP | |
accessKey: spinnakeradmin | |
secretKey: spinnakeradmin | |
nodeSelector: {} | |
gcs: | |
enabled: false | |
project: my-project-name | |
jsonKey: '<INSERT CLOUD STORAGE JSON HERE>' | |
# Configuration for the Jenkins instance that is attached to the | |
# igor component of Spinnaker. For more info about the Jenkins integration | |
# with Spinnaker, visit: | |
# https://www.spinnaker.io/setup/ci/jenkins/ | |
jenkins: | |
enabled: true | |
Master: | |
Cpu: "500m" | |
Memory: "512Mi" | |
ServiceType: ClusterIP | |
CustomConfigMap: true | |
NodeSelector: {} | |
Agent: | |
Cpu: "500m" | |
Memory: "512Mi" | |
NodeSelector: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment