Skip to content

Commit 3009d32

Browse files
added some helm tutorial docs
1 parent c5bf6b3 commit 3009d32

File tree

3 files changed

+54
-2
lines changed

3 files changed

+54
-2
lines changed

.DS_Store

6 KB
Binary file not shown.

csr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spec:
66
groups:
77
- developers
88
request: |
9-
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQ3REQ0NBWndDQVFBd2J6RUxNQWtHQTFVRUJoTUNTVTR4Q3pBSkJnTlZCQWdNQWxWUU1SSXdFQVlEVlFRSApEQWxIYjNKaGEyaHdkWEl4Q3pBSkJnTlZCQW9NQWxobU1SQXdEZ1lEVlFRRERBZHlZV2gxYkhobU1TQXdIZ1lKCktvWklodmNOQVFrQkZoRnlZV2gxYkhobVFHZHRZV2xzTG1OdmJUQ0NBU0l3RFFZSktvWklodmNOQVFFQkJRQUQKZ2dFUEFEQ0NBUW9DZ2dFQkFMNnEwTk9EblBMekxLRXNYMFErbjJsdFhRWlo1OWVKUkt0V0VtODBKRUV5UEo4aQpTdTVNS2VXaFo5UkVKMnowVmlkNWd1ZGdFdllsc0NvTlkvamZSemtrQ2hoVVdDYVJ2NklDbXYwZVIvRWZrNVo3CmJlSFYrVFMrdGFUdUlvQnhtaXdpOGErQi9oQ3lxTEFHTk5GUy9ldEVLMkNZY1NvNXdxM2NVdFhoTENtMXhSVEUKSVd2cml6WHhpTUJHRDJJSlJpQWpieTdyQkVRL1JTOFRnV2pZRDFGMndPaEdXWmxUOXliMTNLcnFMQktCbXFKZwpZNzJVc2RJb09FRCtIZ0plaGVpWWhYZlFhYytub1VLN3lIYlZvbTJ5VXJwSHBtZEQyUzArT3hnbUwrT290QUtQCmMvLytYWTBEdTlwVVBQNi9VUHc5VTZrZ3lneUhINzVXSkFCQk9zOENBd0VBQWFBQU1BMEdDU3FHU0liM0RRRUIKQ3dVQUE0SUJBUUFYRVVnNDQ5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sQ2dzR1JUazEKc2tqSnhLZTJlTzhFL0R0M1hKKzNhekwzSGFTWWpaUFBNUG9naDI1Qm0yUFErRE5tZHVNb2VQeTJxRHFxdUJvYgoyT25UMU1nK205MlFodHhLc1RVdDlQMmdSZFBOc1N2SEMrclZ0STM5MVpaUk5iaEJvNCtvYitFQ0VWc2VEMjlaCk1raVFJeFA5QjlMdktVZS9hNWp4YVZ3SUd2bXk5UlV5L1JiR1g0cGVSeDNwRVFJREFRQUJvQUF3RFFZSktvWkkKaHZjTkFRRUxCUUFEZ2dFQkFGMmRaczZ6RCtQTTYyYzhBeXlyZjUwRmhSYWdacjh6bE1ZVGk5TkhtSmt1b0wyVQpjM0t4aitpRFcvbEZXWkEzL2prQ1ZqNHRaUVVVUk9PS0kyQ0FpRTd6cVFlaXhVSmJocXk3dURkRTQzbWV4UVZ0Ckx3YjhKTUF3WmExWDFHekp1OHBZaGRxNFQxdGdXdnNQTlpEczlUNk01RzkrSzJUS1dia0habDQ4b1dIcmlIMjgKcVhjQ1pqampMTDJsWmQvbFpsbTlZKzZLY0RDVXpyWlgvRFZGZTd6c2tWZ2ZpenlNRlgzOVhISXVQdTh2RVJCYQpzWk0raEJ4bURqR1pkbm80ZDdpZWpQNlJsWWR4ZS9kYnM2QVVlQ3luc2Z5UGd1WGk1am9qSkVVNDZJWFZtenlDCkY2MWIxVEpnUGRVTkFLenBvSmk0b1lPRmRwMU92Tm5VYWpGM2NWYz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUgUkVRVUVTVC0tLS0tCg==
1010
signerName: kubernetes.io/kube-apiserver-client
1111
usages:
12-
- client auth
12+
- client auth

helm-tutorial.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
2+
## Create your first Helm Chart
3+
// https://jhooq.com/getting-start-with-helm-chart/
4+
5+
```bash
6+
helm create helloworld
7+
ls -lart | grep helloworld
8+
9+
tree helloworld
10+
helloworld
11+
├── charts
12+
├── Chart.yaml
13+
├── templates
14+
│ ├── deployment.yaml
15+
│ ├── _helpers.tpl
16+
│ ├── hpa.yaml
17+
│ ├── ingress.yaml
18+
│ ├── NOTES.txt
19+
│ ├── serviceaccount.yaml
20+
│ ├── service.yaml
21+
│ └── tests
22+
│ └── test-connection.yaml
23+
└── values.yaml
24+
25+
```
26+
27+
```bash
28+
helm install <FIRST_ARGUMENT_RELEASE_NAME> <SECOND_ARGUMENT_CHART_NAME>
29+
30+
First argument - Release name that you pick
31+
Second argument - Chart you want to install
32+
33+
helm install myhelloworld helloworld
34+
35+
NAME: myhellworld
36+
LAST DEPLOYED: Sat Nov 7 21:48:08 2020
37+
NAMESPACE: default
38+
STATUS: deployed
39+
REVISION: 1
40+
NOTES:
41+
1. Get the application URL by running these commands:
42+
export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services myhellworld-helloworld)
43+
export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}")
44+
echo http://$NODE_IP:$NODE_PORT
45+
```
46+
47+
```bash
48+
helm list -a
49+
50+
51+
```
52+

0 commit comments

Comments
 (0)