Skip to content

gbrivate/jenkins-x-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 

Repository files navigation

s

Jenkins X - Guide

First of all, have a look to JenkinsX to know more about it.

Before start, ensure you have installed these tools:

Jx (Jenkins X CLI)

Google Cloud SDK (We will use GKE, but you can use any other AWS, AKS etc.).

Kubectl (Kubernetes command-line tool)

Git (Distributed version control system)

Check the instalation

By instaling Jx you also should get some tools installed such as kubectl, Helm and Cloud providers, for more info about what happening after you install Jx visit this link

In order to double check run the following command:

> jx version

jx                 1.3.620
jenkins x platform 0.0.2940
kubectl            v1.10.7
helm client        v2.11.0+g2e55dbe
helm server        v2.11.0+g2e55dbe
git                git version 2.10.1

At this point you are ready to go!

Setting up a Google Cloud account

if you do not have one, please create one for free

Set you gcloud account locally from your terminal run

gcloud container clusters get-credentials ninjabelt --zone asia-east1-a --project cinq-jx-dojo

COMMON_GMAIL: jxdojocommon@gmail.com/commonpassword
COMMON_GIT: jxdojocommon/commonpassw0rd

** This is necessary because you may have other projects, and wen you run Jx create, is very important that you have set up the right gcloud project.

Creating our first cluster

Using JX to create a cluster into your gcloud project

jx init --namespace=jxdojo --provider=gke --username=jxdojocommon@gmail.com --verbose

jx install --default-admin-password=cinqtechjxdojo --default-environment-prefix=cinqtech-jx --environment-git-owner=cinqtechnologies --git-api-token=bd3ca842d962e660a6be951ba2e986a5cb3d035e --git-username=cinqtechdojo-jx-bot --install-only --namespace=jxdojo --provider=gke --username=jxdojocommon@gmail.com --skip-setup-tiller --skip-ingress --no-default-environments

Table of definitions

Name Descrition
Git The most popular VCS
Jenkins An open source CI / CD automation platform
Jenkins X A subproject of Jenkins, automates CI/CD processes in Kubernetes based systems
Kubernetes a.k.a. k8s, open source, distributed management system of containerized applications
Minikube A tool to run Kubernetes locally
GitOps A set of principles for managing software and infrastructure based on Git
Docker A containers management platform
Docker registry A repository to store and distribute Docker containers
Nexus An artifact repository
Helm A package manager for Kubernetes
Helm Chart A collection of configuration files that describe a related set of Kubernetes resources. E.g. chart.
Chartmuseum An open-source Helm Chart Repository
Monocular An open-source web-based UI for Helm Chart management
Quickstart Pre-made Jenkins X applications templates a developer can start a project from, instead of starting from scratch

Releases

No releases published

Packages

No packages published