Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request kubernetes#1883 from achinthagunasekara/dev-agunas…
Browse files Browse the repository at this point in the history
…ekara-yamllinting-vertical-pod-autoscaler-deploy

Yaml linting vertical-pod-autoscaler deploy files
  • Loading branch information
k8s-ci-robot authored Apr 12, 2019
2 parents cf8c8a5 + a4b888e commit 74b3845
Show file tree
Hide file tree
Showing 6 changed files with 224 additions and 225 deletions.
42 changes: 21 additions & 21 deletions vertical-pod-autoscaler/deploy/admission-controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@ spec:
spec:
serviceAccountName: vpa-admission-controller
containers:
- name: admission-controller
image: k8s.gcr.io/vpa-admission-controller:0.5.0
imagePullPolicy: Always
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts:
- name: tls-certs
mountPath: "/etc/tls-certs"
readOnly: true
resources:
limits:
cpu: 200m
memory: 500Mi
requests:
cpu: 50m
memory: 200Mi
ports:
- containerPort: 8000
- name: admission-controller
image: k8s.gcr.io/vpa-admission-controller:0.5.0
imagePullPolicy: Always
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts:
- name: tls-certs
mountPath: "/etc/tls-certs"
readOnly: true
resources:
limits:
cpu: 200m
memory: 500Mi
requests:
cpu: 50m
memory: 200Mi
ports:
- containerPort: 8000
volumes:
- name: tls-certs
secret:
Expand Down
24 changes: 12 additions & 12 deletions vertical-pod-autoscaler/deploy/updater-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ spec:
spec:
serviceAccountName: vpa-updater
containers:
- name: updater
image: k8s.gcr.io/vpa-updater:0.5.0
imagePullPolicy: Always
resources:
limits:
cpu: 200m
memory: 1000Mi
requests:
cpu: 50m
memory: 500Mi
ports:
- containerPort: 8080
- name: updater
image: k8s.gcr.io/vpa-updater:0.5.0
imagePullPolicy: Always
resources:
limits:
cpu: 200m
memory: 1000Mi
requests:
cpu: 50m
memory: 500Mi
ports:
- containerPort: 8080
4 changes: 2 additions & 2 deletions vertical-pod-autoscaler/deploy/vpa-beta-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
singular: verticalpodautoscaler
kind: VerticalPodAutoscaler
shortNames:
- vpa
- vpa
validation:
# openAPIV3Schema is the schema for validating custom objects.
openAPIV3Schema:
Expand Down Expand Up @@ -45,4 +45,4 @@ spec:
singular: verticalpodautoscalercheckpoint
kind: VerticalPodAutoscalerCheckpoint
shortNames:
- vpacheckpoint
- vpacheckpoint
29 changes: 14 additions & 15 deletions vertical-pod-autoscaler/deploy/vpa-beta2-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ spec:
singular: verticalpodautoscaler
kind: VerticalPodAutoscaler
shortNames:
- vpa
- vpa
version: v1beta1
versions:
- name: v1beta1
served: true
storage: false
- name: v1beta2
served: true
storage: true
- name: v1beta1
served: true
storage: false
- name: v1beta2
served: true
storage: true
validation:
# openAPIV3Schema is the schema for validating custom objects.
openAPIV3Schema:
Expand Down Expand Up @@ -50,13 +50,12 @@ spec:
singular: verticalpodautoscalercheckpoint
kind: VerticalPodAutoscalerCheckpoint
shortNames:
- vpacheckpoint
- vpacheckpoint
version: v1beta1
versions:
- name: v1beta1
served: true
storage: false
- name: v1beta2
served: true
storage: true

- name: v1beta1
served: true
storage: false
- name: v1beta2
served: true
storage: true
4 changes: 2 additions & 2 deletions vertical-pod-autoscaler/deploy/vpa-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
singular: verticalpodautoscaler
kind: VerticalPodAutoscaler
shortNames:
- vpa
- vpa
validation:
# openAPIV3Schema is the schema for validating custom objects.
openAPIV3Schema:
Expand Down Expand Up @@ -45,4 +45,4 @@ spec:
singular: verticalpodautoscalercheckpoint
kind: VerticalPodAutoscalerCheckpoint
shortNames:
- vpacheckpoint
- vpacheckpoint
Loading

0 comments on commit 74b3845

Please sign in to comment.