반응형
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
- knative
- Kubernetes
- Model Serving
- nginx ingress
- seldon core
- gitops
- keda
- Argo
- Kubernetes 인증
- CI/CD
- argocd
- argo rollout
- kubernetes operator
- opensearch
- serving
- Litmus
- operator
- CANARY
- Continuous Deployment
- Kubeflow
- 오퍼레이터
- mlops
- 카오스 엔지니어링
- blue/green
- tekton
- Pulumi
- opentelemetry
- MLflow
- Kopf
- gitea
Archives
- Today
- Total
목록python (1)
Kubernetes 이야기
Pod에서 python code 실행하기
Python Script를 실행하기 위해 별도로 Container image를 만들지 않고 간단히 Shell 을 이용해서 코드를 실행 수 있다. 아래와 같은 방법으로 argument에 Python 코드를 입력하여 간단한 application은 실행할 수 있다. apiVersion: v1 kind: Pod metadata: name: python spec: containers: - name: python image: python:3.8-slim command: - "sh" - "-c" args: - | pip install -q requests cat
개발/python
2022. 3. 27. 23:36