Archive for the ‘Kubernetes’ Category

Kubeapps – is an in-cluster web based application that enables users with a one time installation to deploy manage and upgrade applications on a Kubernetes cluster

Donnerstag, März 16th, 2023

Raspberry Pi 4 – ein Single Node Kubernetes Cluster mit K3s

Sonntag, Februar 13th, 2022

Minikube – is local Kubernetes focusing on making it easy to learn and develop for Kubernetes

Montag, März 8th, 2021

Minikube – is local Kubernetes focusing on making it easy to learn and develop for Kubernetes

Montag, März 1st, 2021

Kubernetes – step by step guide to install Istio Service Mesh

Sonntag, Februar 28th, 2021

Kubernetes – mehr als eine Einführung

Sonntag, Februar 28th, 2021

Raspberry Pi ESXi ARM Edition – running Photon OS 4.0 & installing mini Kubernetes Cluster (K3s)

Samstag, Februar 27th, 2021
root@vm-iot-jsho-photon-01 [ ~ ]# tdnf update
Refreshing metadata for: ‚VMware Photon Linux 4.0 (aarch64)‘
Refreshing metadata for: ‚VMware Photon Extras 4.0 (aarch64)‘
Refreshing metadata for: ‚VMware Photon Linux 4.0 (aarch64) Updates‘
Nothing to do.
root@vm-iot-jsho-photon-01 [ ~ ]#
root@vm-iot-jsho-photon-01 [ ~ ]# tdnf upgrade
Nothing to do.
root@vm-iot-jsho-photon-01 [ ~ ]#
# vi /etc/ssh/sshd_config
PermitRootLogin yes
root@vm-iot-jsho-photon-01 [ ~ ]# tdnf install -y open-vm-tools
Installing:
libxml2-devel aarch64 2.9.10-6.ph4 photon-release 421.22k 431333
xmlsec1 aarch64 1.2.30-3.ph4 photon-release 1008.09k 1032280
libxslt aarch64 1.1.34-2.ph4 photon-release 386.52k 395799
libtirpc aarch64 1.2.6-1.ph4 photon-release 193.34k 197978
libmspack aarch64 0.10.1alpha-1.ph4 photon-release 71.67k 73386
libdnet aarch64 1.11-7.ph4 photon-release 119.49k 122353
open-vm-tools aarch64 11.2.5-1.ph4 photon-release 2.58M 2707646
Total installed size: 4.73M 4960775
Downloading:
libxml2-devel 86552 100%
xmlsec1 293410 100%
libxslt 167035 100%
libtirpc 95455 100%
libmspack 44444 100%
libdnet 44766 100%
open-vm-tools 770464 100%
Testing transaction
Running transaction
Installing/Updating: libdnet-1.11-7.ph4.aarch64
Installing/Updating: libmspack-0.10.1alpha-1.ph4.aarch64
Installing/Updating: libtirpc-1.2.6-1.ph4.aarch64
Installing/Updating: libxml2-devel-2.9.10-6.ph4.aarch64
Installing/Updating: libxslt-1.1.34-2.ph4.aarch64
Installing/Updating: xmlsec1-1.2.30-3.ph4.aarch64
Installing/Updating: open-vm-tools-11.2.5-1.ph4.aarch64
Created symlink /etc/systemd/system/vmtoolsd.service.requires/vgauthd.service → /usr/lib/systemd/system/vgauthd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vmtoolsd.service → /usr/lib/systemd/system/vmtoolsd.service.
Complete!
root@vm-iot-jsho-photon-01 [ ~ ]#
root@vm-iot-jsho-photon-01 [ ~ ]# systemctl enable vmtoolsd.service
root@vm-iot-jsho-photon-01 [ ~ ]# systemctl start vmtoolsd.service
root@vm-iot-jsho-photon-01 [ ~ ]# tdnf install kubernetes iptables docker
Package iptables is already installed.
Package docker is already installed.
Installing:
perl aarch64 5.30.1-3.ph4 photon-release 55.31M 57992259
libnfnetlink aarch64 1.0.1-1.ph4 photon-release 49.72k 50912
libnetfilter_queue aarch64 1.0.5-1.ph4 photon-release 48.51k 49673
libnetfilter_cttimeout aarch64 1.0.0-1.ph4 photon-release 38.48k 39403
libnetfilter_cthelper aarch64 1.0.0-1.ph4 photon-release 34.33k 35156
libnetfilter_conntrack aarch64 1.0.8-1.ph4 photon-release 137.78k 141086
libmnl aarch64 1.0.4-3.ph4 photon-release 23.30k 23863
socat aarch64 2.0.0.b9-2.ph4 photon-release 628.81k 643902
ethtool aarch64 5.10-1.ph4 photon-release 609.21k 623833
etcd aarch64 3.4.13-3.ph4 photon-release 32.68M 34267406
ebtables aarch64 2.0.10-4.ph4 photon-release 349.42k 357804
cri-tools aarch64 1.19.0-3.ph4 photon-release 45.79M 48018673
conntrack-tools aarch64 1.4.6-1.ph4 photon-release 474.84k 486235
cni aarch64 0.8.7-3.ph4 photon-release 44.24M 46384160
kubernetes aarch64 1.19.7-1.ph4 photon-release 513.26M 538193740
Total installed size: 693.62M 727308105
Is this ok [y/N]: y
Downloading:
perl 15877896 100%
libnfnetlink 28557 100%
libnetfilter_queue 27192 100%
libnetfilter_cttimeout 22016 100%
libnetfilter_cthelper 21970 100%
libnetfilter_conntrack 59955 100%
libmnl 16888 100%
socat 224709 100%
ethtool 219694 100%
etcd 9586835 100%
ebtables 123332 100%
cri-tools 11159142 100%
conntrack-tools 182380 100%
cni 6937689 100%
kubernetes 97613424 100%
Testing transaction
Running transaction
Installing/Updating: libmnl-1.0.4-3.ph4.aarch64
Installing/Updating: libnfnetlink-1.0.1-1.ph4.aarch64
Installing/Updating: libnetfilter_queue-1.0.5-1.ph4.aarch64
Installing/Updating: libnetfilter_conntrack-1.0.8-1.ph4.aarch64
Installing/Updating: libnetfilter_cttimeout-1.0.0-1.ph4.aarch64
Installing/Updating: libnetfilter_cthelper-1.0.0-1.ph4.aarch64
Installing/Updating: conntrack-tools-1.4.6-1.ph4.aarch64
Created symlink /etc/systemd/system/multi-user.target.wants/conntrackd.service → /usr/lib/systemd/system/conntrackd.service.
Installing/Updating: ethtool-5.10-1.ph4.aarch64
Installing/Updating: cni-0.8.7-3.ph4.aarch64
Installing/Updating: cri-tools-1.19.0-3.ph4.aarch64
Installing/Updating: etcd-3.4.13-3.ph4.aarch64
Installing/Updating: socat-2.0.0.b9-2.ph4.aarch64
Installing/Updating: perl-5.30.1-3.ph4.aarch64
Installing/Updating: ebtables-2.0.10-4.ph4.aarch64
Installing/Updating: kubernetes-1.19.7-1.ph4.aarch64
Complete!
root@vm-iot-jsho-photon-01 [ ~ ]#
root@vm-iot-jsho-photon-01 [ ~ ]# vi /etc/systemd/scripts/ip4save
-A INPUT -p tcp -m tcp –dport 8080 -j ACCEPT
-A INPUT -p tcp -m tcp –dport 6443 -j ACCEPT
-A INPUT -p tcp -m tcp –dport 10250 -j ACCEPT
root@vm-iot-jsho-photon-01 [ ~ ]# systemctl stop iptables
root@vm-iot-jsho-photon-01 [ ~ ]# systemctl disable iptables
root@vm-iot-jsho-photon-01 [ ~ ]# vi /etc/kubernetes/config
KUBE_MASTER=“–master=http://vm-iot-jsho-photon-01:8080″
root@vm-iot-jsho-photon-01 [ ~ ]# vi /etc/kubernetes/kubelet
# KUBELET_HOSTNAME=“–hostname-override=127.0.0.1″
root@vm-iot-jsho-photon-01 [ ~ ]# vi kuberbetes.sh
for SERVICES in etcd kube-apiserver kube-controller-manager kube-scheduler kube-proxy kubelet docker;
do
systemctl restart $SERVICES
systemctl enable $SERVICES
# systemctl status $SERVICES
done
root@vm-iot-jsho-photon-01 [ ~ ]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
vm-iot-jsho-photon-01 Ready <none> 15s v1.19.7
root@vm-iot-jsho-photon-01 [ ~ ]# kubectl get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.254.0.1 <none> 443/TCP 36m
root@vm-iot-jsho-photon-01 [ ~ ]#

Raspberry Pi ESXi ARM Edition – Photon OS 4.0 & Kubernetes Cluster (K3s)

Freitag, Februar 26th, 2021

Kubernetes is a 10-letter word stylized as K8s so something half as big as Kubernetes would be a 5-letter word stylized as K3s

  K3s.io – is a highly available certified Kubernetes distribution designed for production workloads in unattended resource-constrained remote locations or inside IoT appliances and it is packaged as a single <40MB binary that reduces the dependencies and steps needed to install run and auto-update a production Kubernetes cluster

   Photon OS – is a Linux based open source security-hardened enterprise grade appliance operating system that is purpose built for Cloud and Edge applications

Amazon S3 Compatible Storage in Kubernetes – MinIO Docker Image for Raspberry Pi and four USB flash drives

Mittwoch, Dezember 23rd, 2020
root@rpi-iot-jsho-docker-01:~# docker run -p 9000:9000 –name MinIO-01 -v /media/pi/“MINIO 1″:/data0 -v /media/pi/“MINIO 2″:/data1 -v /media/pi/“MINIO 3″:/data2 -v /media/pi/“MINIO 4″:/data3 -e „MINIO_ACCESS_KEY=<AccessKey>“ -e „MINIO_SECRET_KEY=<SecretKey>“ minio/minio server /data{0…3}
Formatting 1st zone, 1 set(s), 4 drives per set.
WARNING: Host local has more than 2 drives of set. A host failure will result in data becoming unavailable.
Attempting encryption of all config, IAM users and policies on MinIO backend
Status: 4 Online, 0 Offline.
Endpoint: http://172.17.0.2:9000 http://127.0.0.1:9000

pi@rpi-iot-jsho-docker-01:~ $ ./mc admin info myminio
● 192.168.1.151:9000
Uptime: 1 week
Version: 2020-12-10T01:54:29Z
Network: 1/1 OK
Drives: 4/4 OK
2.1 MiB Used, 3 Buckets, 3 Objects
4 drives online, 0 drives offline

MinIO – how to deploy manage and scale MinIO object storage directly from VMware using Kubernetes

Freitag, Dezember 18th, 2020

Zabbix – Kubernetes monitoring how it can be achieved

Mittwoch, Dezember 2nd, 2020

VMware Tanzu Build Service – a Kubernetes native way to build Containers is now GA

Samstag, September 5th, 2020

  VMware Tanzu Build Service – a completely new way of building and managing application containers for Kubernetes, is now generally available

Deutsche Bahn AG – eine neue IT nach 30 Jahren für die Bahn mit Kubernetes und AWS

Donnerstag, September 3rd, 2020

Red Hat OpenShift – die erste und einzige container ­zentrierte Hybrid ­Cloud Lösung auf Basis von Projekten wie Docker Kubernetes Project Atomic oder OpenShift Origin konzipiert mit Red Hat Enterprise Linux CoreOS als zentralem Fundament

Donnerstag, September 3rd, 2020

VMware vSphere CSI 2.0 – with native Kubernetes to encrypt individual Persistent Volumes on vSAN

Sonntag, Juli 26th, 2020

VMware vSphere CSI 2.0 – to create a Storage Policy Based Management (SPBM) with the VM Encryption feature which can be used with vSphere CSI/CNS to create a Kubernetes Storage Class that encrypts Persistent Volumes. This feature is only available with the CSI 2.0 driver for native, upstream Kubernetes deployed on vSphere 7.0 (at the time of writing). You will also need to have a Key Management Server available to the vSphere host to create a policy that allows encryption. Finally, encrypted Persistent Volumes can only be attached to encrypted virtual machines, meaning that at least one of your Kubernetes worker nodes, deployed as a VM on vSphere, will need to be encrypted