logo
search
EXPAND ALL
  • Home

k0s

To set up Pixie on k0s, you'll need to:

  1. Create a k0s cluster
  2. (Optional) Install a volume provisioner in the cluster
  3. Install Pixie

Create a k0s Cluster

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 k0s
curl -sSLf https://get.k0s.sh | sudo sh
# Install k0s as a service
sudo k0s install controller --single
# Start k0s as a service
sudo k0s start
# Check service, logs and k0s status
sudo k0s status

(Optional) Install a Volume Provisioner

Self-Hosted Pixie needs a PersistentVolume.

  1. Follow the OpenEBS Guide to set up a local PV.
export KUBECONFIG=<PATH_TO_KUBECONFIG_FROM_PREVIOUS_STEP>
kubectl apply -f https://openebs.github.io/charts/openebs-operator-lite.yaml
kubectl apply -f https://openebs.github.io/charts/openebs-lite-sc.yaml
  1. Save the following StorageClass definition as sc.yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: local-hostpath
annotations:
openebs.io/cas-type: local
cas.openebs.io/config: |
- name: StorageType
value: hostpath
- name: BasePath
value: /var/local-hostpath
provisioner: openebs.io/local
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
  1. Apply the yaml:
kubectl apply -f sc.yaml

Install Pixie

Once your cluster is up, follow the install steps to deploy Pixie.

This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.