mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-13 20:58:11 +00:00
Merge pull request #46 from zhiweiyin318/add-resoure-request
add resource requests
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -16,3 +16,6 @@ munge-csv
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
_output/
|
||||
|
||||
.kubeconfig
|
||||
.idea
|
||||
|
||||
@@ -212,7 +212,10 @@ spec:
|
||||
port: 8443
|
||||
scheme: HTTPS
|
||||
initialDelaySeconds: 2
|
||||
resources: {}
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
serviceAccountName: cluster-manager
|
||||
strategy: deployment
|
||||
installModes:
|
||||
|
||||
@@ -57,3 +57,7 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 8443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
|
||||
@@ -192,7 +192,10 @@ spec:
|
||||
port: 8443
|
||||
scheme: HTTPS
|
||||
initialDelaySeconds: 2
|
||||
resources: {}
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
serviceAccountName: klusterlet
|
||||
strategy: deployment
|
||||
installModes:
|
||||
|
||||
@@ -57,3 +57,7 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 8443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
|
||||
@@ -57,3 +57,7 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 8443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
|
||||
@@ -60,6 +60,10 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 6443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
volumeMounts:
|
||||
- name: webhook-secret
|
||||
mountPath: "/serving-cert"
|
||||
|
||||
@@ -69,6 +69,10 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 8443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
volumes:
|
||||
- name: bootstrap-secret
|
||||
secret:
|
||||
|
||||
@@ -63,6 +63,10 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 8443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
volumes:
|
||||
- name: hub-kubeconfig-secret
|
||||
secret:
|
||||
|
||||
@@ -687,6 +687,10 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 8443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
`)
|
||||
|
||||
func manifestsClusterManagerClusterManagerRegistrationDeploymentYamlBytes() ([]byte, error) {
|
||||
@@ -877,6 +881,10 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 6443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
volumeMounts:
|
||||
- name: webhook-secret
|
||||
mountPath: "/serving-cert"
|
||||
|
||||
@@ -194,6 +194,10 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 8443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
volumes:
|
||||
- name: bootstrap-secret
|
||||
secret:
|
||||
@@ -471,6 +475,10 @@ spec:
|
||||
scheme: HTTPS
|
||||
port: 8443
|
||||
initialDelaySeconds: 2
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
volumes:
|
||||
- name: hub-kubeconfig-secret
|
||||
secret:
|
||||
|
||||
Reference in New Issue
Block a user