Skip to content

Commit b274c37

Browse files
authored
Updating for release (#34)
1 parent 569757c commit b274c37

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
A 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

1212
Refer:
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

2129
Prebuilt containers are posted on [Docker Hub](https://hub.docker.com/r/apache/cloudstack-kubernetes-provider).

traefik-ingress-controller.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,21 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
---
18+
apiVersion: v1
1819
kind: Service
1920
metadata:
21+
name: traefik
2022
annotations:
2123
service.beta.kubernetes.io/cloudstack-load-balancer-proxy-protocol: enabled
2224
spec:
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
---
3234
apiVersion: v1
3335
kind: 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
5052
kind: DaemonSet
5153
metadata:
5254
name: traefik-ingress-controller
5355
spec:
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:
@@ -67,7 +75,7 @@ spec:
6775
protocol: TCP
6876
- containerPort: 443
6977
hostPort: 443
70-
name: http
78+
name: https
7179
protocol: TCP
7280
volumeMounts:
7381
- mountPath: /config

0 commit comments

Comments
 (0)