본문 바로가기

Kubernetes 이야기

검색하기
Kubernetes 이야기
프로필사진 kmaster

  • 분류 전체보기 (170)
    • Kubernetes (136)
      • 일반 (56)
      • 모니터링 (15)
      • 보안 (15)
      • devops (37)
      • MLOps (13)
    • Knative (3)
      • 설치 (1)
      • 일반 (2)
    • 개발 (28)
      • typescript (2)
      • pulumi (2)
      • python (14)
      • go (8)
      • svelte (2)
    • Database (2)
      • MariaDB (1)
      • Postgres (1)
Guestbook
반응형
Notice
Recent Posts
Recent Comments
Link
«   2025/12   »
일 월 화 수 목 금 토
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
  • operator
  • mlops
  • kubernetes operator
  • opensearch
  • nginx ingress
  • knative
  • tekton
  • Kubernetes
  • Continuous Deployment
  • eBPF
  • Litmus
  • CI/CD
  • Argo
  • Model Serving
  • Kopf
  • keda
  • 카오스 엔지니어링
  • gitops
  • argocd
  • 오퍼레이터
  • Pulumi
  • MLflow
  • Kubernetes 인증
  • xdp
  • serving
  • CANARY
  • blue/green
  • opentelemetry
  • Kubeflow
  • seldon core
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바