250x250
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 |
Tags
- 하둡
- 빅데이터실무자격증
- EC2
- AWS자격증
- Identity and access management
- CCAAdministrator
- SQL
- CCA131
- 코딩테스트
- 파이썬
- IAM
- mysql
- MFA
- 리눅스
- hadoop
- 빅데이터
- Multi Factor Authentication
- programmers
- 데이터베이스
- SQLD
- hive
- RDBMS
- CLF-01
- 클라우드자격증
- 클라우드컴퓨팅
- AWSCloudPractitioner
- 프로그래머스
- 클라우데라자격증
- 쉘스크립트
- sql자격증
Archives
- Today
- Total
Sherry IT Blog
jupyter notebook pod 만들기 본문
728x90
반응형
jupyter-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: jupyter-deployment
spec:
selector:
matchLabels:
app: jupyter
replicas: 1
template:
metadata:
labels:
app: jupyter
spec:
containers:
- name: jupyter
image: <registry>/jupyter-notebook:latest
ports:
- containerPort: 8888
jupyter-service.yaml
apiVersion: v1
kind: Service
metadata:
name: jupyter-service
spec:
selector:
app: jupyter
ports:
- name: jupyter-port
port: 8888
targetPort: 8888
type: ClusterIP
--
apiVersion: v1
kind: Endpoints
metadata:
name: jupyter-notebook
subsets:
- addresses:
- ip: 10.0.0.2
ports:
- name: http
port: 8888
protocol: TCP
jupyter-ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jupyter-ingress
spec:
rules:
- host: jupyter.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: jupyter-service
port:
name: jupyter-port
kubectl apply -f jupyter-deployment.yaml
kubectl apply -f jupyter-service.yaml
kubectl apply -f jupyter-ingress.yaml
728x90
반응형
'Kubernetes' 카테고리의 다른 글
jupyter pod _endpoint (0) | 2023.05.11 |
---|---|
[Kubernetes] Ingress설정을 이용해서 jupyternotebook pod 실행하기 (0) | 2023.05.02 |
Kubernetes 설치-onperm (0) | 2023.02.08 |
Kubernetes cluster 구성도구 (0) | 2023.02.08 |
Comments