Tsung-Yu Chan

@CharlieChan

Joined on Nov 1, 2019

  • 5G NR Platform Required HardwareCPU: i5-9400 OS: Ubuntu 18.04LTS UE: Oppo reno 5G USRP B210, B200mini Software
     Like  Bookmark
  • Basic Setup sudo apt update sudo apt upgrade -y Turn off swap sudo swapoff -a vim /etc/fstab #/swap.img none swap sw 0 0 reboot set up ipvs sudo vim /etc/modules-load.d/modules.conf
     Like  Bookmark
  • Foreword Lens is an open source IDE. It is a tool to manage Kubernetes. It’s can let we see our object of kubernetes on Lens. Installation Guide Step1 Download Lens We can download Lens on its official site. If we downloaded the Lens we can see the Lens like this figure. Step2 Add Kubernetes Cluster
     Like  Bookmark
  • You can find the code from charlie6679/k8s-prometheus Step 1 Install node-expoter create a namespace "monitoring" kubectl apply -f prometheus-ns.yml create node-exporter daemonset
     Like  Bookmark
  • Foreword In the Kubernetes cluster, we want to connect to the Pod we can use the “port-forward” to achieve the port forwarding. However, we have many Pods need to connect. We can use the Service to connect. Service Definition An abstract way to expose an application running on a set of Pods as a network service. Every Pod get its own IP address, however in Deployment the Pod may be create or delete. The IP address of Pod will be changed. Type of Service
     Like  Bookmark
  • Install MetalLB loadbalacer Creste namespace You will see the metallb-system in namespace kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.3/manifests/namespace.yaml Create deployment You will see the two pods
     Like  Bookmark
  • Foreword When the objects of cluster and people using Kubernetes cluster are increasing, we can use the Namespaces to manage our project. Namespaces Definition Kubernetes supports multiple virtual clusters backed by the same physical cluster. These virtual clusters are called namespaces. Namespaces are a way to divide cluster resources between multiple user. Features
     Like  Bookmark
  • Foreword When our Pods is increasing, management will be complicated. For example, how to create a Pod on different Node or how to manage Pods on different level. Thus, Kubernetes has the element which called “Label”. According to the different property, we can give the Pod different Labels. Label Defination Labels are key/value pairs that are attached to objects, such as pods.
     Like  Bookmark
  • Foreword When you wnat to store some sensitive data in your Kubernetes cluster, you will need the "Secret" to help you. Secret usually store some sensitive data such as account of database, Access Token or SSH Key etc. Secret Definition Kubernetes Secrets let you store and manage sensitive information, such as passwords, OAuth tokens, and ssh keys. Storing confidential information in a Secret is safer and more flexible than putting it verbatim in a Pod definition or in a container image.
     Like  Bookmark
  • Foreword When you are developing, you don't want to deliver your code of the deployment environment with your code together. The ConfigMap is the useful object to help you. Once you deliver your code of the deployment environment with your code together, it will let your service expose in danger. ConfigMap Definition A ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume.
     Like  Bookmark