Wake Blog

不能杀死我的终将使我变更强大

CKAD练习题记录 (五)

CKAD练习题记录

**part-F: Services and Networking ** Create a deployment called foo using image ‘dgkanatsios/simpleapp’ (a simple server that returns hostname) and 3 replicas. Label it as ‘app=foo’. Declare that containers in this pod will accept traffic on port 8080 (do NOT create a service yet) ## dgkanatsios/simpleapp 这个镜像在 arm 机器上不支持,所以deploymen

CKAD练习题记录 (四)

CKAD练习题记录

来源:https://github.com/dgkanatsios/CKAD-exercises part-E: Observability 这部分主要是可观察性,也就是能及时发现p

CKAD练习题记录 (三)

CKAD练习题记录

来源:https://github.com/dgkanatsios/CKAD-exercises part-D: Configuration Create a configMap called ‘options’ with the value var5=val5. Create a new nginx pod that loads the value from variable

CKAD练习题记录 (二)

CKAD练习题记录

part-C: core_concepts Add a new label tier=web to all pods having ‘app=v2’ or ‘app=v1’ labels # 一开始忘记了使用 app in (v1,v2) 这样的语法,改成双引号也是可以识别的 k lable pod tier=web -l 'app in (v1,v2)' # 顺手了解一下删除label,这个

CKAD练习题记录 (一)

CKAD练习题记录

来源:https://github.com/dgkanatsios/CKAD-exercises part-A: core_concepts Get the YAML for a new ResourceQuota called ‘myrq’ with hard limits of 1 CPU, 1G memory and 2 pods