From d23ad0cd8fb7b0ee0669dd006599446030cf5b61 Mon Sep 17 00:00:00 2001 From: Julien Eyraud Date: Tue, 18 Sep 2018 16:05:05 +0200 Subject: [PATCH 1/4] Fix kaniko-build.yaml to use insecure registry --- k8s/kaniko-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/kaniko-build.yaml b/k8s/kaniko-build.yaml index 51eccc49..9756b88d 100644 --- a/k8s/kaniko-build.yaml +++ b/k8s/kaniko-build.yaml @@ -19,7 +19,7 @@ spec: image: gcr.io/kaniko-project/executor:latest args: - "--context=/workspace/dockercoins/rng" - - "--skip-tls-verify" + - "--insecure" - "--destination=registry:5000/rng-kaniko:latest" volumeMounts: - name: workspace From 9a0649e67191fb038d28972c166db61595757721 Mon Sep 17 00:00:00 2001 From: Julien Eyraud Date: Tue, 18 Sep 2018 17:42:10 +0200 Subject: [PATCH 2/4] Change postgresql mount path --- slides/k8s/portworx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/k8s/portworx.md b/slides/k8s/portworx.md index 1086b67b..f959416f 100644 --- a/slides/k8s/portworx.md +++ b/slides/k8s/portworx.md @@ -295,7 +295,7 @@ It should show as `portworx-replicated (default)`. - With a `volumeClaimTemplate` requesting a 1 GB volume -- That volume will be mounted to `/var/lib/postgresql` +- That volume will be mounted to `/var/lib/postgresql/data` - There is another little detail: we enable the `stork` scheduler @@ -328,7 +328,7 @@ spec: - name: postgres image: postgres:10.5 volumeMounts: - - mountPath: /var/lib/postgresql + - mountPath: /var/lib/postgresql/data name: postgres volumeClaimTemplates: - metadata: From a66fcaf04cfb9a41a493c319ccbe97adb66dff01 Mon Sep 17 00:00:00 2001 From: Nicolas Schwartz Date: Tue, 18 Sep 2018 16:02:16 +0200 Subject: [PATCH 3/4] Update kaniko-build.yaml Fix option --- k8s/kaniko-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/kaniko-build.yaml b/k8s/kaniko-build.yaml index 51eccc49..2abc2349 100644 --- a/k8s/kaniko-build.yaml +++ b/k8s/kaniko-build.yaml @@ -19,7 +19,7 @@ spec: image: gcr.io/kaniko-project/executor:latest args: - "--context=/workspace/dockercoins/rng" - - "--skip-tls-verify" + - "---insecure" - "--destination=registry:5000/rng-kaniko:latest" volumeMounts: - name: workspace From 0519682c304762afe4fe26d94788025176cd8ec3 Mon Sep 17 00:00:00 2001 From: Nicolas Gavalda Date: Tue, 18 Sep 2018 18:02:19 +0200 Subject: [PATCH 4/4] Fix small typo --- slides/k8s/prometheus.md | 2 +- slides/swarm/metrics.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/k8s/prometheus.md b/slides/k8s/prometheus.md index 43c49c03..42e5e271 100644 --- a/slides/k8s/prometheus.md +++ b/slides/k8s/prometheus.md @@ -38,7 +38,7 @@ - An exporter serves metrics over HTTP, in plain text -- This is was the *node exporter* looks like: +- This is what the *node exporter* looks like: http://demo.robustperception.io:9100/metrics diff --git a/slides/swarm/metrics.md b/slides/swarm/metrics.md index b4008159..1999117c 100644 --- a/slides/swarm/metrics.md +++ b/slides/swarm/metrics.md @@ -949,7 +949,7 @@ class: prom ## It's all about the `/metrics` -- This is was the *node exporter* looks like: +- This is what the *node exporter* looks like: http://demo.robustperception.io:9100/metrics