Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
| 31 |
Tags
- Java
- Kubernetes
- kotlin
- PETERICA
- tucker의 go 언어 프로그래밍
- SRE
- Rag
- MySQL
- 티스토리챌린지
- 바이브코딩
- docker
- CloudWatch
- AWS EKS
- AI
- 공부
- 기록으로 실력을 쌓자
- kotlin coroutine
- Claude
- HARNESS
- 코틀린 코루틴의 정석
- 정보처리기사 실기 기출문제
- CKA 기출문제
- LLM
- golang
- 오블완
- Spring
- go
- minikube
- aws
- CKA
Archives
- Today
- Total
피터의 개발이야기
[CKA] Udemy 실습문제풀이 - Networking2 본문
반응형

ㅁ 들어가며
ㅇ Udemy, Practice, Networking 공부 메모 2.
ㅁ 함께 보면 좋은 사이트
ㅁ Ingress 생성
$ kubectl create configmap ingress-nginx-controller --namespace ingress-nginx
configmap/ingress-nginx-controller created
ㅁ ServiceAccount 생성
NGINX 수신 컨트롤러에는 두 개의 ServiceAccount가 필요합니다. ingress-nginx 네임스페이스에 ingress-nginx 및 ingress-nginx-admission 이름을 사용하여 ServiceAccount를 모두 만듭니다.
$ kubectl create serviceaccount ingress-nginx --namespace ingress-nginx
serviceaccount/ingress-nginx created
$ kubectl create serviceaccount ingress-nginx-admission --namespace ingress-nginx
serviceaccount/ingress-nginx-admission created
ㅁ weath video Ingress 생성
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-wear-watch
namespace: app-space
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-redirect: "false" <==== 이 부분은 놓침.
spec:
rules:
- http:
paths:
- path: /wear
pathType: Prefix
backend:
service:
name: wear-service
port:
number: 8080
- path: /watch
pathType: Prefix
backend:
service:
name: video-service
port:
number: 8080반응형
'Kubernetes > CKA&CKAD' 카테고리의 다른 글
| [CKA] 개념정리 - nodePort, port, targetPort 정리 (0) | 2024.01.29 |
|---|---|
| [CKA] Udemy 실습문제풀이 - Trouble shooting (0) | 2024.01.28 |
| [kubernetes] JSONPath 사용법 (1) | 2024.01.27 |
| [CKA] Udemy 실습문제풀이 - Networking (0) | 2024.01.27 |
| [CKA] Udemy 실습문제풀이 - Storage (0) | 2024.01.27 |
Comments