본문 바로가기

kubernetes55

MetalLB 2021.03.16 1. MetalLB 0.9.5 ? - MetalLB is a load-balancer implementation for bare metal Kubernetes clusters, using standard routing protocols. - https://metallb.universe.tf/ 2. MetalLB 배포 & Kubeflow (istio) 설정 변경 - https://www.kubeflow.org/docs/started/k8s/kfctl-istio-dex/#expose-with-a-loadbalancer a. Install MetalLB $ kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.5/m.. 2021. 9. 15.
NFS-Client Provisioner 2020.11.09 22.01.11: NFS 프로비저너를 구성시최신 버전(NFS subdir external provisioner)으로 구성할 것을 권고한다. 1. 개요 - nfs-client is an automatic provisioner that use your existing and already configured NFS server to support dynamic provisioning of Kubernetes Persistent Volumes via Persistent Volume Claims. Persistent volumes are provisioned as ${namespace}-${pvcName}-${pvName}. - 제약사항 nfs-client는 PVC 생성시 설정한 size .. 2021. 9. 15.
Dashboard on bare-metal 2021.11.15, 2020.06.16 1. K8s Dashboard install a. install Dashboard - https://github.com/kubernetes/dashboard#kubernetes-dashboard # Latest - Release # v2.0.0 (K8s 1.18 호환), v.2.0.0-rc3 (K8s 1.16 호환), v.2.0.0-beta3 (K8s 1.15 호환) $ k version --short Client Version: v1.20.4 Server Version: v1.16.15 $ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc3/aio/deploy/rec.. 2021. 9. 15.
Dashboard on GCE 2020.04.10 1. Kubernetes dashboard install on Google K8s Engine Ref. https://github.com/kubernetes/dashboard#kubernetes-dashboard $ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml namespace/kubernetes-dashboard created serviceaccount/kubernetes-dashboard created service/kubernetes-dashboard created secret/kubernetes-dashboard-certs.. 2021. 9. 15.
keepalived, haproxy for K8s 2021.03.31, 2020.06.10 1. 개요 Kubernetes master를 HA 구성시 L4 스위치가 없을 경우 Software load balancing로 설정하는 방법 2. 환경 - keepalived 2.0.20, HAProxy 2.0.14 The keepalived service provides a virtual IP managed by a configurable health check. The haproxy service can be configured for simple stream-based load balancing thus allowing TLS termination - 구성 내역 Server IP : iap1(14.52.244.134:6443), iap2(14.52.244.1.. 2021. 9. 15.
K8s 구성 - MiniKube on MacOS 2020.02.08 1. What is MiniKube ? - Minikube is a tool that makes it easy to run Kubernetes locally. https://minikube.sigs.k8s.io/ https://kubernetes.io/docs/setup/learning-environment/minikube/ - Support OS : Windows, MacOS, Linux - 지원 Drivers (https://minikube.sigs.k8s.io/docs/drivers/) - 비교 (https://brennerm.github.io/posts/minikube-vs-kind-vs-k3s.html) 2. Install for MacOS a. Install kubectl .. 2021. 9. 14.
K8s 구성 - KinD on MacOS 2020.08.26 1. kind - KinD ? kind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI. kind supports multi-node (including HA) clusters kind is a CNCF certified conformant Kubernetes installer https://kind.sigs.k8s.io/ - supported K8s list https://hub.docker.com/r/kin.. 2021. 9. 14.
K8s 구성 - Single on GCE 2020.07.14 1. K8s 설치 개요 - 내용: K8s 1.18.1/1.15.11 (Single control plane) install, K8s Dashboard v2.0.0 / Weave scope install - 환경 : Google Compute Engine, Centos 7.7 - 참조: https://futurecreator.github.io/2019/02/25/kubernetes-cluster-on-google-compute-engine-for-developers/ https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ - 참고: Kubeflow v1.0 설치 기준 요구사항 compat.. 2021. 9. 14.
K8s 구성 - HA K8s on bare-metal server 2020.06.10 1. K8s 설치 개요 내용: K8s 1.16.15 (Stacked control plane nodes) install 환경 : Centos 7.8, Baremetal server 참조 : Creating Highly Available clusters with kubeadm https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/ 2. Stacked control plane nodes 3. 사전 작업 - K8s master nodes & worker nodes 사전 작업 $ sudo su - # swapoff -a && echo 0 > /proc/sys/vm/swappiness # /.. 2021. 9. 14.
Metrics-server 2020.09.19 1. What is Metrics-server ? - https://www.replex.io/blog/the-ultimate-guide-to-the-kubernetes-dashboard-how-to-install-and-integrate-metrics-server Metrics-server replaces Heapster as the primary cluster-wide metrics aggregator for Kubernetes with an integration into the Kubernetes dashboard. Metrics-server aggregates resource consumption data like CPU and memory usage for Kubernetes .. 2021. 9. 14.