File tree Expand file tree Collapse file tree 2 files changed +23
-7
lines changed Expand file tree Collapse file tree 2 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 77
88A Cloud Controller Manager to facilitate Kubernetes deployments on Cloudstack.
99
10- Based on the old Cloudstack provider in Kubernetes that will be removed soon .
10+ Based on the old Cloudstack provider in Kubernetes was removed.
1111
1212Refer:
1313* https://github.com/kubernetes/kubernetes/tree/release-1.15/pkg/cloudprovider/providers/cloudstack
@@ -16,6 +16,14 @@ Refer:
1616
1717## Deployment
1818
19+ The CloudStack Kubernetes Provider is automatically deployed when a Kuberentes Cluster is created on CloudStack 4.16+
20+
21+ In order to communicate with CloudStack, a separate service user ** kubeadmin** is created in the same account as the cluster owner.
22+ The provider uses this user's API keys to get the details of the cluster as well as update the networking rules. It is imperative that this user
23+ is not altered or have its keys regenerated.
24+
25+ The provider can also be manually deployed as follows :
26+
1927### Kubernetes
2028
2129Prebuilt containers are posted on [ Docker Hub] ( https://hub.docker.com/r/apache/cloudstack-kubernetes-provider ) .
Original file line number Diff line number Diff line change 1515# specific language governing permissions and limitations
1616# under the License.
1717---
18+ apiVersion : v1
1819kind : Service
1920metadata :
21+ name : traefik
2022 annotations :
2123 service.beta.kubernetes.io/cloudstack-load-balancer-proxy-protocol : enabled
2224spec :
2325 type : LoadBalancer
2426 ports :
2527 - name : http
26- port : 80
27- targetPort : http
28+ port : 80
29+ targetPort : http
2830 - name : https
29- port : 443
30- targetPort : https
31+ port : 443
32+ targetPort : https
3133---
3234apiVersion : v1
3335kind : ConfigMap
@@ -46,12 +48,18 @@ data:
4648 [entryPoints.https.proxyProtocol]
4749 trustedIPs = ["127.0.0.1/32", "10.0.0.1/32"]
4850 ---
49- apiVersion : extensions/v1beta1
51+ apiVersion : apps/v1
5052kind : DaemonSet
5153metadata :
5254 name : traefik-ingress-controller
5355spec :
56+ selector :
57+ matchLabels :
58+ name : traefik-ingress-controller
5459 template :
60+ metadata :
61+ labels :
62+ name : traefik-ingress-controller
5563 spec :
5664 hostNetwork : true
5765 containers :
6775 protocol : TCP
6876 - containerPort : 443
6977 hostPort : 443
70- name : http
78+ name : https
7179 protocol : TCP
7280 volumeMounts :
7381 - mountPath : /config
You can’t perform that action at this time.
0 commit comments