- Family
t2d-standard-1
(π Tau T2D machine types) - vCPU
1
- Memory
4 GB
- Maximum egress bandwidth (Gbps)
10
kubectl scale --replicas=4 deploy/nginx
t2d-standard-1
(π Tau T2D machine types)1
4 GB
10
kubectl scale --replicas=4 deploy/nginx
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: balloon | |
spec: | |
replicas: 4 | |
selector: | |
matchLabels: | |
pod: balloon-pod | |
template: | |
metadata: | |
labels: | |
pod: balloon-pod | |
spec: | |
priorityClassName: balloon-priority | |
terminationGracePeriodSeconds: 0 | |
containers: | |
- name: ubuntu | |
image: ubuntu | |
command: ["sleep"] | |
args: ["infinity"] | |
resources: | |
limits: | |
cpu: 250m | |
ephemeral-storage: 1Gi | |
memory: 950M | |
requests: | |
cpu: 250m | |
ephemeral-storage: 1Gi | |
memory: 950M |
--- | |
apiVersion: scheduling.k8s.io/v1 | |
kind: PriorityClass | |
metadata: | |
name: balloon-priority | |
value: -10 | |
preemptionPolicy: Never | |
globalDefault: false | |
description: "Balloon priority." |
--- | |
apiVersion: scheduling.k8s.io/v1 | |
kind: PriorityClass | |
metadata: | |
name: default-priority | |
value: 0 | |
preemptionPolicy: PreemptLowerPriority | |
globalDefault: true | |
description: "Global default priority." |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx | |
spec: | |
replicas: 4 | |
selector: | |
matchLabels: | |
pod: nginx-pod | |
template: | |
metadata: | |
labels: | |
pod: nginx-pod | |
spec: | |
priorityClassName: default-priority | |
terminationGracePeriodSeconds: 0 | |
containers: | |
- name: nginx | |
image: nginx | |
resources: | |
limits: | |
cpu: 250m | |
ephemeral-storage: 1Gi | |
memory: 950M | |
requests: | |
cpu: 250m | |
ephemeral-storage: 1Gi | |
memory: 950M |