mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 08:17:37 +00:00
Merge pull request #7956 from fidencio/topic/ci-reduce-the-machine-size-used
ci: Reduce the size of the AKS VMs
This commit is contained in:
commit
6f30d00ae7
@ -43,7 +43,7 @@ function create_cluster() {
|
|||||||
az aks create \
|
az aks create \
|
||||||
-g "${AZ_RG}" \
|
-g "${AZ_RG}" \
|
||||||
-n "$(_print_cluster_name ${test_type})" \
|
-n "$(_print_cluster_name ${test_type})" \
|
||||||
-s "Standard_D4s_v5" \
|
-s "Standard_D2s_v5" \
|
||||||
--node-count 1 \
|
--node-count 1 \
|
||||||
--generate-ssh-keys \
|
--generate-ssh-keys \
|
||||||
$([ "${KATA_HOST_OS}" = "cbl-mariner" ] && echo "--os-sku AzureLinux --workload-runtime KataMshvVmIsolation")
|
$([ "${KATA_HOST_OS}" = "cbl-mariner" ] && echo "--os-sku AzureLinux --workload-runtime KataMshvVmIsolation")
|
||||||
|
@ -40,18 +40,15 @@ else
|
|||||||
"k8s-liveness-probes.bats" \
|
"k8s-liveness-probes.bats" \
|
||||||
"k8s-memory.bats" \
|
"k8s-memory.bats" \
|
||||||
"k8s-nested-configmap-secret.bats" \
|
"k8s-nested-configmap-secret.bats" \
|
||||||
"k8s-number-cpus.bats" \
|
|
||||||
"k8s-oom.bats" \
|
"k8s-oom.bats" \
|
||||||
"k8s-optional-empty-configmap.bats" \
|
"k8s-optional-empty-configmap.bats" \
|
||||||
"k8s-optional-empty-secret.bats" \
|
"k8s-optional-empty-secret.bats" \
|
||||||
"k8s-parallel.bats" \
|
|
||||||
"k8s-pid-ns.bats" \
|
"k8s-pid-ns.bats" \
|
||||||
"k8s-pod-quota.bats" \
|
"k8s-pod-quota.bats" \
|
||||||
"k8s-port-forward.bats" \
|
"k8s-port-forward.bats" \
|
||||||
"k8s-projected-volume.bats" \
|
"k8s-projected-volume.bats" \
|
||||||
"k8s-qos-pods.bats" \
|
"k8s-qos-pods.bats" \
|
||||||
"k8s-replication.bats" \
|
"k8s-replication.bats" \
|
||||||
"k8s-scale-nginx.bats" \
|
|
||||||
"k8s-seccomp.bats" \
|
"k8s-seccomp.bats" \
|
||||||
"k8s-sysctls.bats" \
|
"k8s-sysctls.bats" \
|
||||||
"k8s-security-context.bats" \
|
"k8s-security-context.bats" \
|
||||||
|
@ -16,10 +16,8 @@ spec:
|
|||||||
args: ["-c", "inotifywait --timeout 120 -r /config/ && [[ -L /config/config.toml ]] && echo success" ]
|
args: ["-c", "inotifywait --timeout 120 -r /config/ && [[ -L /config/config.toml ]] && echo success" ]
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1
|
|
||||||
memory: 50Mi
|
memory: 50Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 1
|
|
||||||
memory: 1024Mi
|
memory: 1024Mi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
|
Loading…
Reference in New Issue
Block a user