Added basic setup for master and certification material
This commit is contained in:
53
files/LFS258/SOLUTIONS/s_A/review7.yaml
Normal file
53
files/LFS258/SOLUTIONS/s_A/review7.yaml
Normal file
@@ -0,0 +1,53 @@
|
||||
apiVersion: extensions/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
deployment.kubernetes.io/revision: "1"
|
||||
generation: 1
|
||||
labels:
|
||||
run: igottrouble
|
||||
name: igottrouble
|
||||
spec:
|
||||
replicas: 0
|
||||
selector:
|
||||
matchLabels:
|
||||
run: ugottrouble
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 1
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
run: igottrouble
|
||||
spec:
|
||||
containers:
|
||||
- image: vish/stress
|
||||
imagePullPolicy: Always
|
||||
name: igottrouble
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: "1Gi"
|
||||
requests:
|
||||
cpu: "2.5"
|
||||
memory: "500Mi"
|
||||
args:
|
||||
- -cpus
|
||||
- "2"
|
||||
- -mem-total
|
||||
- "1950Mi"
|
||||
- -mem-alloc-size
|
||||
- "100Mi"
|
||||
- -mem-alloc-sleep
|
||||
- "1s"
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 30
|
||||
|
||||
Reference in New Issue
Block a user