-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from vshn/fixes/controlplane_split
Improvements for split control plane
- Loading branch information
Showing
6 changed files
with
77 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
# We need the ingress to pass through ssl traffic to the vCluster | ||
# This only works for the nginx-ingress (enable via --enable-ssl-passthrough | ||
# https://kubernetes.github.io/ingress-nginx/user-guide/tls/#ssl-passthrough ) | ||
# for other ingress controllers please check their respective documentation. | ||
nginx.ingress.kubernetes.io/backend-protocol: HTTPS | ||
nginx.ingress.kubernetes.io/ssl-passthrough: "true" | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
name: vcluster | ||
namespace: vcluster | ||
spec: | ||
ingressClassName: nginx # use your ingress class name | ||
rules: | ||
- host: vcluster.127.0.0.1.nip.io | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: controlplane | ||
port: | ||
number: 443 | ||
path: / | ||
pathType: ImplementationSpecific |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
# Vcluster uses sqlite by default and basically just dies with our dev env | ||
controlPlane: | ||
proxy: | ||
extraSANs: | ||
- vcluster.127.0.0.1.nip.io | ||
backingStore: | ||
etcd: | ||
deploy: | ||
enabled: true | ||
networking: | ||
replicateServices: | ||
fromHost: | ||
- from: minio/minio-server | ||
to: minio/minio-server | ||
- from: default/kubernetes | ||
to: default/kubernetes-host |