perses-operator

command module
v0.1.10-0...-801af29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

README

Perses Operator

An operator to install Perses in a k8s cluster.

Getting Started

Install the Perses Operator in your Kubernetes cluster. You can use KIND to get a local cluster for testing, or run against a remote cluster.

Prerequisites

You’ll need:

  • a Kubernetes cluster to run against. You can use KIND or minikube to get a local cluster for testing, or run against a remote cluster. Note: Your controller will automatically use the current context in your kubeconfig file (i.e. whatever cluster kubectl cluster-info shows).
  • kubectl installed and configured to use your cluster.
Running on the cluster
  1. Install custom resource definitions:
make install-crds
  1. Deploy the operator:

Option A: Using cert-manager

make install-cert-manager
make deploy

[!IMPORTANT] This will deploy the controller with the default image 'docker.io/perses/perses-operator:latest'. To > use a different image, set the IMG variable:

make deploy IMG=<your-image>

Option B: Using self-signed certificates (for development/testing)

make deploy-local
  1. Create a namespace for the resources:
kubectl create namespace perses-dev
  1. Install custom resources:
kubectl apply -k config/samples
  1. Check the Perses UI:
kubectl -n perses-dev port-forward svc/perses-sample 8080:8080
Uninstall CRDs

To delete the CRDs from the cluster:

make uninstall
Undeploy controller

UnDeploy the controller from the cluster:

make undeploy

Docs

License

Copyright 2025 The Perses Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=perses.dev
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=perses.dev
v1alpha2
Package v1alpha1 contains API Schema definitions for the v1alpha2 API group +kubebuilder:object:generate=true +groupName=perses.dev
Package v1alpha1 contains API Schema definitions for the v1alpha2 API group +kubebuilder:object:generate=true +groupName=perses.dev
controllers
internal
scripts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL