전체 글 썸네일형 리스트형 [kubernetes] minikube addon 설치 minikube addon 설치 minikube addons 사용법 $ minikube --help minikube provisions and manages local Kubernetes clusters optimized for development workflows. Basic Commands: start Starts a local Kubernetes cluster status Gets the status of a local Kubernetes cluster stop Stops a running local Kubernetes cluster delete Deletes a local Kubernetes cluster dashboard Access the Kubernetes dashboard running .. 더보기 [draft] MaC vscode에서 한 번에 여러 개의 텍스트를 선택하고 수정하는 방법 vscode에서 한 번에 여러 개의 텍스트를 선택하고 수정하는 방법Windows/Linux블록 지정 -> Ctrl + DCtrl + Shift + L -> 지정 블록 수정Maccommand + Dcommand + shift + L 더보기 [kubernetes] kubectl run 명령 kubectl run 명령 Create and run a particular image in a pod. 사용법 Examples: # Start a nginx pod kubectl run nginx --image=nginx # Start a hazelcast pod and let the container expose port 5701 kubectl run hazelcast --image=hazelcast/hazelcast --port=5701 # Start a hazelcast pod and set environment variables "DNS_DOMAIN=cluster" and "POD_NAMESPACE=default" in the container kubectl run hazelcast --imag.. 더보기 [kubernetes] kubectl explain 명령 kubectl explain 명령 List the fields for supported resources. 사용법 Examples: # Get the documentation of the resource and its fields kubectl explain pods # Get the documentation of a specific field of a resource kubectl explain pods.spec.containers Options: --api-version='': Get different explanations for particular API version (API group/version) --recursive=false: Print the fields of fields (Curre.. 더보기 [kubernetes] kubectl get events 명령 kubectl get events 명령 Display one or many resources. 사용법 Examples: # List all pods in ps output format kubectl get pods # List all pods in ps output format with more information (such as node name) kubectl get pods -o wide # List a single replication controller with specified NAME in ps output format kubectl get replicationcontroller web # List deployments in JSON output format, in the "v1" vers.. 더보기 [draft] macOS에 kubectl 설치 및 설정 macOS에 kubectl 설치 및 설정최신 버전(1.25.x)brew install kubectlkubectl version --client --short$ kubectl version --client --shortFlag --short has been deprecated, and will be removed in the future. The --short output will become the default.Client Version: v1.25.1Kustomize Version: v4.5.71.22.10 버전 설치sudo curl -fsSL https://storage.googleapis.com/kubernetes-release/release/v1.22.10/bin/darwin/amd64/kube.. 더보기 [kubernetes] ReplicationController kubernetes ReplicationController 레플리케이션 컨트롤러 생성 - 레이블 셀렉터 - 파드 템플릿 - 복제본 수 nginx-rc.yaml 편집 vim nginx-rc.yaml apiVersion: v1 kind: ReplicationController metadata: name: nginx-rc spec: replicas: 3 selector: app: webserver env: prod template: metadata: name: nginx-pod labels: app: webserver env: prod spec: containers: - name: nginx-container image: nginx:latest ports: - containerPort: 8080 kubectl.. 더보기 [kubernetes] minikube를 이용한 kubernetes 클러스터 배포 minikube를 이용한 kubernetes 클러스터 배포 minikube - kubernetes cluster 구성 도구 1. KVM install https://help.ubuntu.com/community/KVM/Installation sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils sudo adduser `id -un` libvirt sudo adduser `id -un` kvm sudo adduser `id -un` libvirt-qemu sudo reboot systemctl is-active libvirtd 2. minikube install https://minikube.sigs.k8s.io/d.. 더보기 이전 1 ··· 123 124 125 126 127 128 129 ··· 175 다음