forked from kubernetes/kubernetes
-
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.
Add federation controller manager to federation e2es
- Loading branch information
1 parent
ee412ef
commit d2ea7a2
Showing
6 changed files
with
77 additions
and
2 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
17 changes: 17 additions & 0 deletions
17
federation/manifests/federation-apiserver-cluster-service.yaml
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,17 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: {{.FEDERATION_APISERVER_DEPLOYMENT_NAME}} | ||
namespace: {{.FEDERATION_NAMESPACE}} | ||
labels: | ||
app: federated-cluster | ||
spec: | ||
type: ClusterIP | ||
selector: | ||
app: federated-cluster | ||
module: federation-apiserver | ||
ports: | ||
- name: https | ||
protocol: TCP | ||
port: 443 | ||
targetPort: 443 |
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
31 changes: 31 additions & 0 deletions
31
federation/manifests/federation-controller-manager-deployment.yaml
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,31 @@ | ||
apiVersion: extensions/v1beta1 | ||
kind: Deployment | ||
metadata: | ||
name: {{.FEDERATION_CONTROLLER_MANAGER_DEPLOYMENT_NAME}} | ||
namespace: {{.FEDERATION_NAMESPACE}} | ||
labels: | ||
app: federated-cluster | ||
spec: | ||
template: | ||
metadata: | ||
name: federation-controller-manager | ||
labels: | ||
app: federated-cluster | ||
module: federation-controller-manager | ||
spec: | ||
containers: | ||
- name: controller-manager | ||
image: {{.FEDERATION_CONTROLLER_MANAGER_IMAGE_REPO}}:{{.FEDERATION_CONTROLLER_MANAGER_IMAGE_TAG}} | ||
command: | ||
- /usr/local/bin/federation-controller-manager | ||
- --master={{.FEDERATION_APISERVER_DEPLOYMENT_NAME}}:443 | ||
ports: | ||
- containerPort: 443 | ||
name: https | ||
- containerPort: 8080 | ||
name: local | ||
env: | ||
- name: POD_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace |
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