Skip to content

Commit

Permalink
Merge pull request #2243 from chavafg/topic/k8s-pod-overhead
Browse files Browse the repository at this point in the history
k8s: e2e: Enable podOverhead feature and modify skipped tests
  • Loading branch information
GabyCT committed Jan 24, 2020
2 parents 493fc32 + 840fcb0 commit 9781d08
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
6 changes: 2 additions & 4 deletions integration/kubernetes/e2e_conformance/skipped_tests_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

containerd:
- SchedulerPredicates
- should ensure that all pods are removed when a namespace is deleted
- Daemon set \[Serial\] should rollback without unnecessary restarts

crio:
- InitContainer
- Projected downwardAPI
- Downward API
- Daemon set \[Serial\] should rollback without unnecessary restarts
18 changes: 18 additions & 0 deletions integration/kubernetes/kubeadm/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,21 @@ networking:
dnsDomain: cluster.local
podSubnet: 10.244.0.0/16
serviceSubnet: 10.96.0.0/12
apiServer:
extraArgs:
feature-gates: PodOverhead=true
scheduler:
extraArgs:
feature-gates: PodOverhead=true
---
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
cgroupDriver: cgroupfs
featureGates:
PodOverhead: true
systemReserved:
cpu: 500m
memory: 256Mi
kubeReserved:
cpu: 500m
memory: 256Mi
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ apiVersion: node.k8s.io/v1beta1
metadata:
name: kata
handler: kata
overhead:
podFixed:
memory: "160Mi"
cpu: "250m"
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ spec:
command: ["tail", "-f", "/dev/null"]
resources:
limits:
cpu: "1"
cpu: "500m"
- name: c2
image: busybox
command:
- sleep
- "1"
- "10"
resources:
limits:
cpu: "1"
cpu: "500m"

0 comments on commit 9781d08

Please sign in to comment.