Skip to content

Commit 75ad994

Browse files
author
Mason Traylor
committed
updated readme.js
1 parent bdeb0bb commit 75ad994

File tree

2 files changed

+11
-28
lines changed

2 files changed

+11
-28
lines changed

Diff for: README.md

+9-25
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Linux.com Kubernetes CI/CD Blog Series by Kenzan
22

3-
[Linux.com Part 1](https://www.linux.com/blog/learn/chapter/Intro-to-Kubernetes/2017/5/set-cicd-pipeline-kubernetes-part-1-overview)
4-
5-
[Linux.com Part 2](https://www.linux.com/blog/learn/chapter/Intro-to-Kubernetes/2017/6/set-cicd-pipeline-jenkins-pod-kubernetes-part-2)
6-
73
To generate this readme: `node readme.js`
84

95
## Interactive Tutorial Version
@@ -30,18 +26,15 @@ Begin the desired section:
3026

3127

3228
To complete the tutorial manually, follow the steps below.
33-
## Part 1
34-
35-
36-
### Part 1
3729

3830

31+
## Part 1
3932

4033
#### Step1
4134

4235
Start up the Kubernetes cluster with Minikube, giving it some extra resources.
4336

44-
`minikube start --memory 8000 --cpus 2 --kubernetes-version v1.6.0`
37+
`minikube start --memory 8000 --cpus 2`
4538

4639
#### Step2
4740

@@ -131,12 +124,9 @@ With the image in our cluster registry, the last thing to do is apply the manife
131124

132125
Launch a web browser and view the service.
133126

134-
`minikube service hello-kenzan`## Part 2
135-
136-
137-
### Part 2
138-
127+
`minikube service hello-kenzan`
139128

129+
## Part 2
140130

141131
#### Step1
142132

@@ -202,12 +192,9 @@ Now view the Hello-Kenzan application.
202192

203193
Push a change to your fork. Run job again. View the changes.
204194

205-
`minikube service hello-kenzan`## Part 3
206-
207-
208-
### Part 3
209-
195+
`minikube service hello-kenzan`
210196

197+
## Part 3
211198

212199
#### Step1
213200

@@ -333,12 +320,9 @@ Check out all the pods that are running.
333320

334321
Start the web application in your default browser. You may have to refresh your browser so that the puzzle appears properly.
335322

336-
`minikube service kr8sswordz`## Part 4
337-
338-
339-
### Part 4
340-
323+
`minikube service kr8sswordz`
341324

325+
## Part 4
342326

343327
#### Step1
344328

@@ -416,4 +400,4 @@ After it triggers, observe how the puzzle services disappear in the Kr8sswordz P
416400

417401
Try clicking Submit to test that hits now register as light green.
418402

419-
`echo ''`
403+
`echo ''`

Diff for: readme.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ YAML.load('steps.yml', function(docs)
2424
var parts = docs.parts;
2525

2626
parts.forEach(function (item) {
27-
markdown = markdown + "## " + item.name + "\n"
2827
var part = item.name;
29-
markdown = markdown + "\n\n### " + item.name + "\n\n"
3028
var stepNum = 0;
3129
var stepList = item.steps;
30+
31+
markdown = markdown + "\n\n## " + part;
3232

33-
// console.log(item.steps);
3433
stepList.forEach(function (step) {
3534
stepNum++;
3635
markdown = markdown + "\n\n#### Step" + stepNum

0 commit comments

Comments
 (0)