-
Notifications
You must be signed in to change notification settings - Fork 7
/
03-CICD pipelines.slide
57 lines (43 loc) · 1.49 KB
/
03-CICD pipelines.slide
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Production-ready microservices with Go and Kubernetes
Part 2
09:00 31 May 2017
Elena Grahovac
Senior Go Developer, DCMN
elena@grahovac.me
@webdeva
Alexey Palazhchenko
Lead Gopher, Golang Moscow
@paaleksey
* These slides
- https://goo.gl/8FRrJA
- or https://talks.godoc.org/github.com/k8s-community/k8s-workshop-eu/03-CICD%20pipelines.slide#1
- https://github.com/k8s-community/k8s-workshop-eu
* Trying CI/CD
- Install GitHub app to allow CI/CD listen to events:
.link https://github.com/apps/k8s
- Create a brunch release/a.b.c (where a.b.c is the same as RELEASE from the Makefile)
- Push something
- CI and CD processes should be started
- If everything is ok your service will be available at
https://services.k8s.community/<username>/<app name>
* Examples
.link https://github.com/kubernetes/charts
.link https://github.com/k8s-community
* Run Kubernetes locally
- install kubectl:
.link https://kubernetes.io/docs/tasks/tools/install-kubectl/
- install minikube:
.link https://kubernetes.io/docs/tasks/tools/install-minikube/
- run: `minikube` `start`
- initialize ingress: `minikube` `addons` `enable` `ingress`
- set context: `kubectl` `config` `use-context` `minikube`
- check: `kubectl` `config` `current-context`
- try dashboard: `minikube` `dashboard`
* Install helm
- install helm:
.link https://docs.helm.sh/using_helm/#installing-the-helm-client
- a useful plugin:
.link https://github.com/technosophos/helm-template
- run: `helm` `init`
- check: `helm` `search`
* Questions & additional tasks