Remove unused yaml files. (#9135)
This commit is contained in:
parent
2d302e6604
commit
c94aab05f4
|
@ -1,4 +0,0 @@
|
||||||
reviewers:
|
|
||||||
- davidopp
|
|
||||||
- madhusudancs
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: no-annotation
|
|
||||||
labels:
|
|
||||||
name: multischeduler-example
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: pod-with-no-annotation-container
|
|
||||||
image: k8s.gcr.io/pause:2.0
|
|
|
@ -1,11 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: annotation-default-scheduler
|
|
||||||
labels:
|
|
||||||
name: multischeduler-example
|
|
||||||
spec:
|
|
||||||
schedulerName: default-scheduler
|
|
||||||
containers:
|
|
||||||
- name: pod-with-default-annotation-container
|
|
||||||
image: k8s.gcr.io/pause:2.0
|
|
|
@ -1,11 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: annotation-second-scheduler
|
|
||||||
labels:
|
|
||||||
name: multischeduler-example
|
|
||||||
spec:
|
|
||||||
schedulerName: my-scheduler
|
|
||||||
containers:
|
|
||||||
- name: pod-with-second-annotation-container
|
|
||||||
image: k8s.gcr.io/pause:2.0
|
|
|
@ -1,3 +0,0 @@
|
||||||
reviewers:
|
|
||||||
- derekwaynecarr
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: ResourceQuota
|
|
||||||
metadata:
|
|
||||||
name: best-effort
|
|
||||||
spec:
|
|
||||||
hard:
|
|
||||||
pods: "10"
|
|
||||||
scopes:
|
|
||||||
- BestEffort
|
|
|
@ -1,11 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: ResourceQuota
|
|
||||||
metadata:
|
|
||||||
name: compute-resources
|
|
||||||
spec:
|
|
||||||
hard:
|
|
||||||
pods: "4"
|
|
||||||
requests.cpu: "1"
|
|
||||||
requests.memory: 1Gi
|
|
||||||
limits.cpu: "2"
|
|
||||||
limits.memory: 2Gi
|
|
|
@ -1,13 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: LimitRange
|
|
||||||
metadata:
|
|
||||||
name: limits
|
|
||||||
spec:
|
|
||||||
limits:
|
|
||||||
- default:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 512Mi
|
|
||||||
defaultRequest:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 256Mi
|
|
||||||
type: Container
|
|
|
@ -1,4 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: quota-example
|
|
|
@ -1,13 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: ResourceQuota
|
|
||||||
metadata:
|
|
||||||
name: not-best-effort
|
|
||||||
spec:
|
|
||||||
hard:
|
|
||||||
pods: "4"
|
|
||||||
requests.cpu: "1"
|
|
||||||
requests.memory: 1Gi
|
|
||||||
limits.cpu: "2"
|
|
||||||
limits.memory: 2Gi
|
|
||||||
scopes:
|
|
||||||
- NotBestEffort
|
|
|
@ -1,9 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: ResourceQuota
|
|
||||||
metadata:
|
|
||||||
name: object-counts
|
|
||||||
spec:
|
|
||||||
hard:
|
|
||||||
persistentvolumeclaims: "2"
|
|
||||||
services.loadbalancers: "2"
|
|
||||||
services.nodeports: "0"
|
|
|
@ -267,20 +267,6 @@ func walkConfigFiles(inDir string, fn func(name, path string, data [][]byte)) er
|
||||||
func TestExampleObjectSchemas(t *testing.T) {
|
func TestExampleObjectSchemas(t *testing.T) {
|
||||||
// Please help maintain the alphabeta order in the map
|
// Please help maintain the alphabeta order in the map
|
||||||
cases := map[string]map[string][]runtime.Object{
|
cases := map[string]map[string][]runtime.Object{
|
||||||
"docs/admin/multiple-schedulers": {
|
|
||||||
"my-scheduler": {&extensions.Deployment{}},
|
|
||||||
"pod1": {&api.Pod{}},
|
|
||||||
"pod2": {&api.Pod{}},
|
|
||||||
"pod3": {&api.Pod{}},
|
|
||||||
},
|
|
||||||
"docs/admin/resourcequota": {
|
|
||||||
"best-effort": {&api.ResourceQuota{}},
|
|
||||||
"compute-resources": {&api.ResourceQuota{}},
|
|
||||||
"limits": {&api.LimitRange{}},
|
|
||||||
"namespace": {&api.Namespace{}},
|
|
||||||
"not-best-effort": {&api.ResourceQuota{}},
|
|
||||||
"object-counts": {&api.ResourceQuota{}},
|
|
||||||
},
|
|
||||||
"docs/concepts/cluster-administration": {
|
"docs/concepts/cluster-administration": {
|
||||||
"counter-pod": {&api.Pod{}},
|
"counter-pod": {&api.Pod{}},
|
||||||
"fluentd-sidecar-config": {&api.ConfigMap{}},
|
"fluentd-sidecar-config": {&api.ConfigMap{}},
|
||||||
|
|
Loading…
Reference in New Issue