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
- RDBMS
- CLF-01
- 클라우드자격증
- 파이썬
- 리눅스
- SQL
- 클라우데라자격증
- IAM
- 코딩테스트
- 빅데이터
- CCA131
- 클라우드컴퓨팅
- SQLD
- sql자격증
- 프로그래머스
- CCAAdministrator
- EC2
- Identity and access management
- programmers
- 데이터베이스
- MFA
- hive
- mysql
- AWSCloudPractitioner
- 쉘스크립트
- 빅데이터실무자격증
- 하둡
- Multi Factor Authentication
- AWS자격증
- hadoop
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 |