Giter VIP home page Giter VIP logo

kubernetes-spinnaker's Introduction

kubernetes-spinnaker

This repository contains the necessary config to deploy Spinnaker into the same Kubernetes cluster that it will manage. All containers are deployed into a spinnaker namespace.

This assumes that you already the following things setup, and in working order, and accessible by the Kubernetes cluster:

  1. An NFS Server
  2. A Docker Registry
  3. A Jenkins build server

Installation

  1. Clone this repo onto your Kubernetes Master, or wherever your kubectl is installed.
  2. Replace <NFS_IP_ADDRESS> with your NFS Server IP in halyard.yml and minio/standalone.yml.
  3. Run ./install.sh. This will deploy halyard into a single replica.
  4. Exec into your halyard pod: kubectl exec -it -n spinnaker <HALYARD_POD> bash. Running kubectl get pods -n spinnaker will give you the halyard pod name.
  5. Copy the contents of ~/.kubeconfig from your Kubernetes master, to /root/.kubeconfig in the halyard container.
  6. Copy the contents of configure-halyard.sh from this repo, to /root/configure-halyard.sh in the halyard container.
  7. From the halyard container, update the jenkins and docker registry environment variables to your paths, credentials etc.
  8. From the halyard container, run ./root/configure-halyard.sh to configure and deploy Spinnaker. This will prompt for the following 3 passwords:
    1. Minio: This will be Test1234 by default, but should be changed to something more secure by changing the value of the MINIO_SECRET_KEY environment variable in minio/standalone.yml.
    2. Docker Registry: Enter the password for your Docker Registry
    3. Jenkins: Enter the password for the Jenkins user.
  9. To provide Spinnaker access to deploy containers into a specific namespace, run ./permit-namespace.sh "namespace_name" from the halyard container. (NOTE: This is only works for a single namespace. More roles/rolebindings .yml would have to be created if Spinnaker needs access to deploy to more than one namespace)
  10. Expose the Spinnaker dashboard(Deck) by running ./expose-deck.sh from the Kubernetes master.
  11. Access the Spinnaker dashboard at http://localhost:9000

kubernetes-spinnaker's People

Contributors

grizzthedj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.