일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- ipv6
- vrrp
- tunneling
- Etherchannel
- 헤더
- Inter VLAN
- 라우터
- 명령어
- ospfv3
- GLBP
- CKA
- eigrpv2
- ACL
- 장비
- crontab
- OSPF
- ripng
- DHCP
- NAT
- rip
- OSI 7 layer
- eigrp
- Chrony
- 스위치
- stp
- Redistribute
- Vlan
- Today
- Total
목록전체 글 (123)
Net Eng

[선수 작업]kubectl config set-context k8s --user=kubernetes-admin --cluster=kubernetesmkdir -p /srv/pv{1,2}echo "/srv/pv1/index.html" > /srv/pv1/index.htmlecho "/src/pv2/index.html" > /srv/pv2/index.htmlkubectl apply -f - [문제]작업 클러스터: k8sCreate a new PersistentVolumeClaim:Name: app-volumeStorageClass: app-hostpath-scCapacity: 10MiCreate a new Pod which mounts the PersistentVolumeClaim as a volume...

[선수 지식]1. 볼륨 종류 * hostPath * emptyDir * nfs + * iscsi, fc, ... 2. PV & PVC * PV - 볼륨 정의(특성) * PVC - 볼륨 요청(특성) [선수 작업]kubectl config set-context k8s --user=kubernetes-admin --cluster=kubernetes [문제]작업 클러스터: k8sCreate a persistent volume with name app-config, of capacity 1Gi and access mode ReadWriteMany.storageClass: az-cThe type of volume is hostPath and its location is /srv/app-config. [풀이..

[선수 작업]kubectl config set-context k8s --user=kubernetes-admin --cluster=kubernetes [문제]작업 클러스터: k8sCreate a Kubernetes secret and expose using a file in the pod.Create a Kubernetes Secret as follows:Name: super-secretDATA: password=secretpassCreate a Pod named pod-secrets-via-file, using the redis image, which mounts a secret named super-secret at /secrets.Create a second Pod named pod-secrets-..

[선수 작업]kubectl config set-context k8s --user=kubernetes-admin --cluster=kubernetes [문제]Expose Configuration Settings Tasks:All operations in this question should be performed in the ckad namespace. Create a ConfigMap called web-config that contains the following two entries. - connection_string=localhost:80 - external_url=cncf.io Run a pod called web-pod with a single container running the ng..

[선수 작업]kubectl config set-context k8s --user=kubernetes-admin --cluster=kuberneteskubectl apply -f - [문제]Create the service as type NodePort with the port 32767 for the nginx pod with the pod selector app: webui. 작업 클러스터: k8s [풀이]kubectl config use-context k8s* k8s 클러스터 사용 kubectl get pods -l app=webui --show-labels* app:webui 레이블을 가진 Pod 확인 apiVersion: v1kind: Servicemetadata: name: my-serv..

[선수 지식]Init Container 초기화 컨테이너이 페이지는 초기화 컨테이너에 대한 개요를 제공한다. 초기화 컨테이너는 파드의 앱 컨테이너들이 실행되기 전에 실행되는 특수한 컨테이너이다. 초기화 컨테이너는 앱 이미지에는 없는 유틸kubernetes.io [선수 작업]kubectl config set-context conk8s --user=kubernetes-admin --cluster=kubernetesmkdir -p /data/cka /workdircat /data/cka/webpod.yamlkind: PodapiVersion: v1metadata: name: web-podspec: containers: - image: busybox:1.28 name: main command:..

[선수 지식] pod, node -> cpu, mem kubectl top nodeskubectl top pods [선수 작업]kubectl config set-context k8s --user=kubernetes-admin --cluster=cluster.localmkdir -p /var/CKA2023kubectl apply -f - a=1; while true; do a=$(expr a + 1); done; resources: requests: memory: "64Mi" cpu: "250m" limits: memory: "128Mi" cpu: "1"EOFku..

[선수 지식]kubectl logs PODkubectl logs POD -c CONTAINER [선수 작업]kubectl config set-context hk8s --user=kubernetes-admin --cluster=kubernetesmkdir -p /var/CKA2023kubectl apply -f - while true; do [ ! -f /filenotfound.txt ] && echo "[ ERROR ] file not found"; sleep 10; doneEOF [문제]작업 클러스터: hk8sMonitor the logs of pod custom-app and: Extrat log lines corresponding to ..