
ArgoCD 사용하기. 사전 확인하기. 우선 Kubernetes 가 설치되고, kubectl 을 이용할 수 있는지 우선 확인하자. kubectl cluster-info Kubernetes master is running at https://172.16.10.100:6443 KubeDNS is running at https://172.16.10.100:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. 필자의 경우 로컬에 VM을 이용하여 multer master kubernetes cluster 를 우선..

간단한 웹 프로그래밍 개발 및 DockerHub 업로드 이제는 간단한 Hello World 웹 어플리케이션을 만들어 보자. 우리 예제는 go gin 을 이용하여 개발해 볼 것이다. go module 설치 go mod init com.github.schooldevops.go.gin go: creating new go.mod: module com.github.schooldevops.go.gin Gin 의존성 가져오기 go get -u github.com/gin-gonic/gin ... 위와 같이 필요한 모듈을 가져왔다. 간단한 샘플 작성하기. main.go 파일을 열어 다음 내용을 추가한다. package main import ( "bufio" "net/http" "os" "strings" "github.c..

ArgoCD 디플로이 이제는 ArgoCD 를 이용하여 kubernetes 에 배포를 수행할 것이다. 그러기 위해서는 기본적으로 2가지 작업을 수행해 주어야한다. Deployment: Kubernetes 에 어플리케이션을 배포하기 위해서는 Deployment 를 통해서 배포를 수행하게 된다. 버전관리 등 다양한 이점이 있다. Service: Service 는 외부 접속을 위한 연결 정의를 수행하는 매니페스트이다. Deployment 작성하기. greetweb-deploy.yml 파일을 다음과 같이 작성한다. apiVersion: apps/v1 kind: Deployment metadata: labels: app: greet name: greet spec: replicas: 2 selector: matchL..
- Total
- Today
- Yesterday
- kubectl
- docker
- Golang
- declative
- Gorilla
- NodeSelector
- Spring
- Terraform
- mongo
- MySQL
- jpa
- go
- D3
- Database
- Kafka
- argocd
- kafka-springboot
- springboot
- CI
- kubernetes
- CD
- AWS
- gitops
- MongoDB
- jenkins
- docker-compose
- tfsec
- java
- deploy
- mapping
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |