센터컷 샘플 온라인 설치
센터컷 샘플 온라인 어플리케이션을 설치한다.
1. bxframework-centercut-sample-online.yaml
-
yaml 파일 확인
###################################################### # BX Framework CenterCut Sample Service ###################################################### kind: Service apiVersion: v1 metadata: name: bxcm-centercut-sample-online namespace: bxcm200 spec: selector: app: bxcm-centercut-sample-online ports: - protocol: TCP port: 8080 nodePort: 30166 type: NodePort --- ###################################################### # BX Framework CenterCut Sample Deployment ###################################################### apiVersion: apps/v1 kind: Deployment metadata: name: bxcm-centercut-sample-online namespace: bxcm200 spec: selector: matchLabels: app: bxcm-centercut-sample-online replicas: 1 template: metadata: labels: app: bxcm-centercut-sample-online spec: containers: - name: bxcm-centercut-sample-online image: bxcm-centercut-sample-online:latest imagePullPolicy: IfNotPresent env: - name: PARTICIPANT_SERVICENAME value: "http://bxcm-centercut-sample-online:8080" ports: - containerPort: 8080
-
Kubernetes 적용 방법
kubectl apply -f bxframework-centercut-sample-online.yaml