Code Monkey home page Code Monkey logo

uengine-cloud-k8s's Introduction

uEnginecloud for Kubernetes

image

image

back-end 설치

1. 설치할 helm folder로 이동
 - cd helm/uengine-kube

2. values.xml 값 수정
 - kubehost: k8s가 설치되어 있는 도메인 주소
 - kubetoken: k8s 접근하기 위한 토큰 정보

3. helm install
 - helm repo add googleapis https://kubernetes-charts-incubator.storage.googleapis.com/
 - helm repo add incubator http://storage.googleapis.com/kubernetes-charts-incubator
 - helm dependency update
  // 만약 dependency update가 되지 않는다면,
   # helm repo add incubator https://kubernetes-charts.storage.googleapis.com/
   # helm repo add chart https://kubernetes-charts.storage.googleapis.com/
   명령어로 repo를 추가해주어야함.
   
 - helm init
 - helm install --name uengine-kube  --set mysql.mysqlRootPassword=test,mysql.mysqlUser=test,mysql.mysqlPassword=test,mysql.mysqlDatabase=uengine .
  -- DB 유저 및 tablespace 명을 바꾸면 실행되지 않는다.

4. nginx-ingress 의 External-IP 취득
 - kubectl get svc 
  -- EXTERNAL-IP 값 복사 저장해 둔다.

front-end 설치

1. 설치할 helm folder로 이동
 - cd helm/uengine-kube-ui

2. values.xml 값 수정
 - repo: 이미지 저장경로(여기선 default 것 사용 - docker hub)
 - apihost: back-end의 4번 externalip 세팅
  -- 예) apihost: http://xxx.test.com

3. helm install
 - helm install --name uengine-kube-ui .

4. 접속할 external ip 취득
 - kubectl get svc 
  -- serviceui의  EXTERNAL-IP, PORTS 정보 확인

5. 브라우저 접속
 - 4번의 EXTERNAL-IP, PORTS로 접속
  -- http://[EXTERNAL-IP]:[PORTS]
-- 삭제
helm delete uengine-kube-ui --purge
helm delete uengine-kube --purge

uengine-cloud-k8s's People

Contributors

kimscott avatar kimsanghoon1 avatar surel1 avatar sureluengine avatar jinyoung avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.