diff --git a/slides/k8s/kubectlproxy.md b/slides/k8s/kubectlproxy.md index c50618a1..e60b3375 100644 --- a/slides/k8s/kubectlproxy.md +++ b/slides/k8s/kubectlproxy.md @@ -115,6 +115,22 @@ The output is a list of available API routes. --- +## OpenAPI (fka Swagger) + +- The Kubernetes API serves an OpenAPI Specification + + (OpenAPI was formerly known as Swagger) + +- OpenAPI has many advantages + + (generate client library code, generate test code ...) + +- For us, this means we can explore the API with [Swagger UI](https://swagger.io/tools/swagger-ui/) + + (for instance with the [Swagger UI add-on for Firefox](https://addons.mozilla.org/en-US/firefox/addon/swagger-ui-ff/)) + +--- + ## `kubectl proxy` is intended for local use - By default, the proxy listens on port 8001 @@ -135,6 +151,8 @@ The output is a list of available API routes. --- +class: extra-details + ## Running `kubectl proxy` on a remote machine - If we wanted to connect to the proxy from another machine, we would need to: @@ -152,6 +170,8 @@ The output is a list of available API routes. --- +class: extra-details + ## Security considerations - Running `kubectl proxy` openly is a huge security risk diff --git a/slides/kube-fullday.yml b/slides/kube-fullday.yml index 6f4cb447..a46ab89b 100644 --- a/slides/kube-fullday.yml +++ b/slides/kube-fullday.yml @@ -53,9 +53,9 @@ chapters: - shared/hastyconclusions.md - k8s/daemonset.md #- k8s/dryrun.md - #- k8s/kubectlproxy.md #- k8s/localkubeconfig.md #- k8s/accessinternal.md + #- k8s/kubectlproxy.md - k8s/rollout.md #- k8s/healthchecks.md #- k8s/healthchecks-more.md diff --git a/slides/kube-halfday.yml b/slides/kube-halfday.yml index 415be9b8..32ea4a34 100644 --- a/slides/kube-halfday.yml +++ b/slides/kube-halfday.yml @@ -45,9 +45,9 @@ chapters: #- k8s/buildshiprun-selfhosted.md - k8s/buildshiprun-dockerhub.md - k8s/ourapponkube.md - #- k8s/kubectlproxy.md #- k8s/localkubeconfig.md #- k8s/accessinternal.md + #- k8s/kubectlproxy.md - - k8s/dashboard.md #- k8s/kubectlscale.md - k8s/scalingdockercoins.md diff --git a/slides/kube-selfpaced.yml b/slides/kube-selfpaced.yml index 27c6ef73..2d8ed86e 100644 --- a/slides/kube-selfpaced.yml +++ b/slides/kube-selfpaced.yml @@ -61,9 +61,9 @@ chapters: - k8s/record.md - - k8s/namespaces.md - - k8s/kubectlproxy.md - k8s/localkubeconfig.md - k8s/accessinternal.md + - k8s/kubectlproxy.md - - k8s/ingress.md - k8s/kustomize.md diff --git a/slides/kube-twodays.yml b/slides/kube-twodays.yml index d9bc2f8c..7ebfecc4 100644 --- a/slides/kube-twodays.yml +++ b/slides/kube-twodays.yml @@ -54,9 +54,9 @@ chapters: - k8s/daemonset.md - k8s/dryrun.md - - #- k8s/kubectlproxy.md - k8s/localkubeconfig.md - k8s/accessinternal.md + #- k8s/kubectlproxy.md - k8s/rollout.md - k8s/healthchecks.md #- k8s/healthchecks-more.md