Skip to the content.

< Home

📗 Console YAML Samples 사용 가이드

Console YAML Sample 설명

사용 전 확인 사항

consoleYAMLsamples CRD spec 설명

apiVersion: console.tmax.io/v1
kind: ConsoleYAMLSample
metadata:
  name: example-for-sample
spec:
  description: An example Job for sample add
  targetResource:
    apiVersion: batch/v1
    kind: Job
  title: Example Sample
  yaml: |
    Sample YAML

Sample 등록

  1. CR 생성

    • 1.1 Import YAML
      • CLI 로 Jab_Sample.yaml 실행하거나 ex) kubectl apply -f Jab_Sample.yaml
      • Hypercloud 에서 YAML 을 Import

    /k8s/all-namespaces/import /k8s/cluster/customresourcedefinitions/console.tmax.io~v1~ConsoleYAMLSample/~new

    image image

    • 1.2
      • Hypercloud 에서 Form View 에서 작성

    /k8s/cluster/customresourcedefinitions/console.tmax.io~v1~ConsoleYAMLSample/~new

    image image

  2. sidebar 에서 확인 image

< Home