본문 바로가기

SW Development

(5)
[Helm] popular commands 새로운 helm chart 생성 helm create Lint Error check helm lint ./ # Template에 있는 value를 보고 싶을 때 helm template ./ # Dry run: 설치 전 manifest file을 보고 싶을 때 helm install --dry-run -deug ./ # 설치 helm install # 설치된 것 확인 helm list # 지우기 helm delete # Update helm upgrade --install -f i.e) helm upgrade --install my-sample_service ./my-sample-service-helm -f ./my-sample-service-helm /others/custom-values.yml
[Kubernetes] cheating sheet # Create a deployment called "web1" with the nginx web server image kubectl create deployment --image nginxdemos/hello web1 #Expose the deployment to the network kubectl expose deployment web1 --port=80 --type=LoadBalancer # Get all kubectl get all # Get pods kubectl get pod kubectl get pod -w # Get deployments kubectl get deploy kubectl get deploy -w kubectl get deploy -o wide # Get node inform..
[Docker] Cheating sheet 여기는 자주 쓰는 Docker command를 정리해 놓습니다. Basic docker version docker -v docker info Images # Docker image 만들기 docker build -t . # Docker images list docker images # 이미지 땡겨오기 docker pull # Docker run = 이넘은 create + start임. # -it option은 container 안으로 들어가겠다는 의미 docker run -p 8080:8080 -it docker run -it # Docker image 지우기 docker image rmi (-f) # Docker image history 보기 dokcer history Container # Contai..
Conditional Segue 종종, 조건에 따라서 화면을 transition 할지 말지를 정해야할 때가 있다. 이때 사용할 수 있는 것이 Conditional Seque이다. 1. 아래 예는 button을 눌렀을 때, 화면 transition을 하는 예제이다. 2. 우선 Story board에서 source view controller에서 view controller로 Transition 줄 긋기를 한다. 3. 이 때, Source button에서 부터 destination view controller로 줄 긋기를 하는 것이 아니다. 4. 아래 예처럼, performSegueWithIdentifier: 를 call을 해주면 prepareForSeque:가 call이 된다.
Code productivity I have emphasized following things to increase code productivity in my team. Code reviewPair programmingUnit TestContinuous IntegrationAutomated TestingEverything really goes well except for Unit Test.