Install https://github.com/lima-vm/socket_vmnet:
% git clone https://github.com/lima-vm/socket_vmnet.git
% cd socket_vmnet
% sudo make PREFIX=/opt/socket_vmnet install
For Reasons™ I run Plex in a Docker container in LXC on Proxmox. Here's some configuration notes on making it work.
Once the container has been created, you need to manually add the following options to the container's configuration file (/etc/pve/lxc/<id>.conf
):
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: helmchartconfigs.helm.cattle.io | |
namespace: kube-system | |
spec: | |
group: helm.cattle.io | |
names: | |
categories: | |
- helm |
RKE reference for in-tree provider configuration
A cluster configured using RKE needs to include the following section in cluster.yaml
in order to specify that we want to use an external Cloud Provider:
This is a short guide to deploying a three-node Kubernetes cluster using K3s, including kube-vip to provide a HA control-plane and to manage LoadBalancer Service resources, and finally as Cilium as our CNI with the Egress Gateway feature enabled. We'll also heavily lean into Cilium's support for eBPF by doing away with kube-proxy entirely, but note that this does come with some limitations.
First, let's set some common options for K3s:
export K3S_VERSION="v1.22.4+k3s1"
export K3S_OPTIONS="--flannel-backend=none --no-flannel --disable-kube-proxy --disable-network-policy"
With Cilium's Cluster External Workload feature it's possible to attach clients outside of the cluster to Longhorn volumes presented via iSCSI. This example uses RKE.
I've created four virtual machines for my cluster - one as a controlplane / etcd host, and three workers:
cluster_name: cilium
loki: | |
persistence: | |
enabled: true | |
size: 10Gi | |
serviceMonitor: | |
enabled: true |
apiVersion: logging.banzaicloud.io/v1beta1 | |
kind: ClusterOutput | |
metadata: | |
name: loki | |
namespace: cattle-logging-system | |
spec: | |
loki: | |
url: http://loki.loki:3100 | |
configure_kubernetes_labels: true | |
--- |