Trying to clarify kubernetes deployment

Specifically around certs and keys


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/3e5578e3
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/3e5578e3
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/3e5578e3

Branch: refs/heads/master
Commit: 3e5578e33bfd7c067863478ce320d5d6647f4db7
Parents: 289dad1
Author: Duncan Grant <[email protected]>
Authored: Mon Apr 17 15:12:16 2017 +0100
Committer: Andrew Donald Kennedy <[email protected]>
Committed: Fri May 19 14:01:20 2017 +0100

----------------------------------------------------------------------
 kubernetes-location/README.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/3e5578e3/kubernetes-location/README.md
----------------------------------------------------------------------
diff --git a/kubernetes-location/README.md b/kubernetes-location/README.md
index 908bde1..dbef15f 100644
--- a/kubernetes-location/README.md
+++ b/kubernetes-location/README.md
@@ -23,6 +23,26 @@ Here is an example catalog item to add a Kubernetes endpoint 
to your catalog loc
           image: "cloudsoft/centos:7"
           loginUser.password: "p4ssw0rd"
 
+There are a lot of ways to authenticate with kubernetes.  AMP configuration 
for these are documented in the [reference](kubernetes-location-configuration). 
 For example to use client
+certificates use the following example yaml:
+
+    brooklyn.catalog:
+      id: my-kubernetes-cluster
+      name: "My Kubernetes Cluster"
+      itemType: location
+      item:
+        type: kubernetes
+        brooklyn.config:
+          endpoint: << endpoint >>
+          caCertData: |
+            << Generated Ca Cert (see below) >>
+          clientCertData: |
+            << Generated Cert (see below) >>
+          clientKeyData: |
+            << Generated client key (see below) >>
+          image: "cloudsoft/centos:7"
+          loginUser.password: "p4ssw0rd"
+
 AMP Deploys to a Kubernetes cluster by modelling a `KubernetesPod` entity 
which is made up of multiple heterogeneous `DockerContainer` entities.
 
 #### Plain-AMP blueprints

Reply via email to