-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This page is still under construction 🚧
- Start building the databases MySQL, InfluDX (telegraf)
- Wordpress, PHPmyadmin, Grafana
- Nginx, ftps
A developer’s first interaction with Kubernetes is usually on a laptop, often with Minikube. Using Minikube, a single-node Kubernetes “cluster” can be deployed on locally as a virtual machine. Minikube supports a variety of different operating systems (OSX, Linux, and Windows) and Hypervisors (Virtualbox, VMware Fusion, KVM, xhyve, and Hyper-V). The following figure provides some details on setup with Minikube on a single host.

# Start
minikube start
# Display dashboard
minikube dashboard
# Stop minikube
minikube stop
# Display profile
minikube profile <"profile's name">
# Delete profile
minikube delete -p <"profile's name">
# List all params we can change
minikube config
# Display a list of global command-line options (applies to all commands)
minikube options
# List help options
minikube <"command"> --help
# Display current ip
minikube ip
# List available addons
minikube addons list
# Display all (namespaces, pods, etc)
kubectl get all
# List the current namespaces in a cluster
kubectl get namespaces
# List current pods:
kubectl get pods
# List all pods in ps output format with more information (such as node name):
kubectl get pods -o wide
# List the current deployments:
kubectl get deployments
# List the current services:
kubectl get services
# Display events with changes
kubectl get events -w
# Allow changing between namespaces. Without the name, it will list all namespaces available.
kubens <"namespace's name">
# Display IPs
kubectl get pod -o wide
- From the terminal
# Using command line (for namespace)
kubectl create namespace <"namespace's name">
#Using YALM or JSON file
kubectl apply -f <"filename">
- From Dashboard on a webpage
- From the terminal
# Using command line (namespace/ pod)
kubectl delete namespace <"namespace's name">
# Using YALM or JSON file and command line
kubectl delete -f <"filename">
- From Dashboard on a webpage
# List the current pods in a cluster
kubectl get pods
# List the current deployment
kubectl get deployments
# List the deployment apps
kubectl get deployments.apps
# Display details about a pod/ service
kubectl describe pod <"pod name">
kubectl describe service <"service name">
# Display logs to see activity and if there are errors
kubectl logs -f <"e.g. pod name">
# Using command line
kubectl exec -it <"pod's name"> -- /bin/bash
# Check which the Operating System is (inside the pod)
cat /etc/*release
# List the available hosts(inside the pod)
cat /etc/hosts
# Display connection between two pods (inside the pod; before you had to create a service)
ping mariadb-service
#Kubernetes has an intern DNS, for that reason is able to resolve the connection between pods.
netstat -tulpn
Using the docker motor inside the minikube
- Run in the terminal:
minikube docker-env
- To point your shell to minikube's docker-daemon, run:
minikube -p minikube docker-env | Invoke-Expression
Kubernetes is an orchestrator for microservice apps
- Masters: there are in charge
- Nodes: are minions, they are doing the work We've got the code, and we containerize it. And, we define it in an object call a deployment, then we write it up and define it in a YAML file. Then we give the file to K8s on the master, and the master looks at the file and deploys the app on the cluster.
Kubernetes supports multiple virtual clusters backed by the same physical cluster. These virtual clusters are called namespaces.
Namespaces are intended for use in environments with many users spread across multiple teams, or projects. For clusters with a few to tens of users, you should not need to create or think about namespaces at all.
- A Pod is a group of one or more containers, with shared storage and network resources, and a specification for how to run the containers.
- Pods are the smallest deployable units of computing that you can create and manage in Kubernetes.
- Pod is the minimum unit of work.
- Kubernetes Pods are created and destroyed to match the state of your cluster. Pods are nonpermanent resources.
- ReplicaSets create and destroy Pods dynamically
- Kubernetes run containers always inside of pods.
- A container without a pod in Kubernetes is a naked container.
A Deployment provides declarative updates for Pods and ReplicaSets.
A Service is an abstraction that defines a logical set of Pods and a policy by which to access them (sometimes this pattern is called a micro-service). The set of Pods targeted by a Service is usually determined by a selector. Es el punto de entrada, siempre es fijo.
- Kubernetes overview
- Kubernetes tutorial (in Spanish) - Iñigo Serrano
- Kubernetes explained in 15 min
- Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
- yaml files examples
- Download telegraf for Alpine
- Configuration github
- Downloads influxdb, telegraf
- Configuring Telegraf
- Set Up Telegraf, InfluxDB, & Grafana on Kubernetes
![]()
![]()
![]()
![]()
- vsftpd.conf(5) - Linux man page
- vsftpd.conf parameters
- vsftpd
- Build a FTP Server on GCP VM with vsftpd
- How To Set Up vsftpd
- vsftpd.conf reference
- FTP over SSL Clients (FTPS)
- Configuration
- Dashboards
- Using InfluxDB in Grafana
- Download grafana
- https://github.com/grafana/grafana/blob/master/packaging/docker/Dockerfile
- https://github.com/grafana/grafana/blob/master/Dockerfile
- Set up localhost windows
- Install brew without sudo
Setup profile
- Adding username in Linux
- Advantages of --no cache
- Explanation about certificates
Understanding how uid and gid work in Docker containers
- Expose port
- MySQL Port Reference Tables
- Docker windows local ip 192.168.99.100
Powered by Diana S.