GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - QuickSign/valkey-operator: A Kubernetes Operator to deploy and manage Valkey Clusters

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

489 Commits
489 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
api/v1
api/v1
 
 
cfg
cfg
 
 
cmd
cmd
 
 
config
config
 
 
docs
docs
 
 
hack
hack
 
 
internal
internal
 
 
test
test
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.golangci.yml
.golangci.yml
 
 
Dockerfile.controller
Dockerfile.controller
 
 
Dockerfile.sidecar
Dockerfile.sidecar
 
 
Dockerfile.valkey
Dockerfile.valkey
 
 
LICENSE.md
LICENSE.md
 
 
Makefile
Makefile
 
 
PROJECT
PROJECT
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
valkey.yaml
valkey.yaml
 
 
valkey.yml.tpl
valkey.yml.tpl
 
 

Repository files navigation

valkey-operator

Provision valkey (redis) clusters

Description

This operator creates valkey clusters and makes them available to other services on the k8s cluster

See the following link for more information on available Custom Resource Options: https://doc.crds.dev/github.com/hyperspike/valkey-operator

Getting Started

Prerequisites

  • go version v1.22.0+
  • docker version 17.03+.
  • kubectl version v1.11.3+.
  • Access to a Kubernetes v1.11.3+ cluster.

Quick Start

Deploy kubernetes locally using minikube, and install the controller:

make quickstart

and optionally, turn on TLS and Prometheus:

make quickstart TLS=1 PROMETHEUS=1

To Uninstall

make minikube-delete

Project Distribution

Vanilla Kubernetes Manifests

To install the valkey-operator, all you need to do is run the following command:

LATEST=$(curl -s https://api.github.com/repos/hyperspike/valkey-operator/releases/latest | jq -cr .tag_name)
curl -sL https://github.com/hyperspike/valkey-operator/releases/download/$LATEST/install.yaml | kubectl create -f -

Helm

LATEST=$(curl -s https://api.github.com/repos/hyperspike/valkey-operator/releases/latest | jq -cr .tag_name)
helm install valkey-operator --namespace valkey-operator-system --create-namespace oci://ghcr.io/hyperspike/valkey-operator --version ${LATEST}-chart

Verifying the container image

LATEST=$(curl -s https://api.github.com/repos/hyperspike/valkey-operator/releases/latest | jq -cr .tag_name)
cosign verify ghcr.io/hyperspike/valkey-operator:$LATEST  --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity https://github.com/hyperspike/valkey-operator/.github/workflows/image.yaml@refs/tags/$LATEST

Contributing

NOTE: Run make help for more information on all potential make targets

More information can be found via the Kubebuilder Documentation

Spool up a local cluster:

make minikube

Proxy to the registry on the local cluster:

make registry-proxy

And deploy the operator:

export REGISTRY=localhost:5000; export VERSION=1; \
    make docker-build; make docker-push; \
    make build-installer; kubectl apply -f dist/install.yaml

License

Copyright 2024.

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.

About

A Kubernetes Operator to deploy and manage Valkey Clusters

docs.hyperspike.io/valkey-operator

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.