To set up Pixie on k0s, you'll need to:
Follow the k0s Quick Start Guide to set up a K8s cluster with a single node that includes both the controller and the worker:
# Download k0scurl -sSLf https://get.k0s.sh | sudo sh# Install k0s as a servicesudo k0s install controller --single# Start k0s as a servicesudo k0s start# Check service, logs and k0s statussudo k0s status
Self-Hosted Pixie needs a PersistentVolume.
export KUBECONFIG=<PATH_TO_KUBECONFIG_FROM_PREVIOUS_STEP>kubectl apply -f https://openebs.github.io/charts/openebs-operator-lite.yamlkubectl apply -f https://openebs.github.io/charts/openebs-lite-sc.yaml
apiVersion: storage.k8s.io/v1kind: StorageClassmetadata:name: local-hostpathannotations:openebs.io/cas-type: localcas.openebs.io/config: |- name: StorageTypevalue: hostpath- name: BasePathvalue: /var/local-hostpathprovisioner: openebs.io/localreclaimPolicy: DeletevolumeBindingMode: WaitForFirstConsumer
kubectl apply -f sc.yaml
Once your cluster is up, follow the install steps to deploy Pixie.