{"id":26218420,"url":"https://github.com/vishalanarase/memcached-operator","last_synced_at":"2026-06-20T04:31:27.067Z","repository":{"id":280117210,"uuid":"941032253","full_name":"vishalanarase/memcached-operator","owner":"vishalanarase","description":"Kubernetes operator for management of Memcached clusters. Implement the admission webhooks for validating and mutating.","archived":false,"fork":false,"pushed_at":"2025-08-19T13:29:57.000Z","size":12630,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T15:31:20.947Z","etag":null,"topics":["admission-webhooks","golang","kubernetes","kubernetes-operator","mutation-webhook","validation-webhook","webhook"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vishalanarase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-01T10:16:02.000Z","updated_at":"2025-08-19T13:30:00.000Z","dependencies_parsed_at":"2025-04-18T17:55:23.582Z","dependency_job_id":"bdc51f9d-a23f-4023-9634-830ea89f0b12","html_url":"https://github.com/vishalanarase/memcached-operator","commit_stats":null,"previous_names":["vishalanarase/memcached-operator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vishalanarase/memcached-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishalanarase%2Fmemcached-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishalanarase%2Fmemcached-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishalanarase%2Fmemcached-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishalanarase%2Fmemcached-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vishalanarase","download_url":"https://codeload.github.com/vishalanarase/memcached-operator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishalanarase%2Fmemcached-operator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admission-webhooks","golang","kubernetes","kubernetes-operator","mutation-webhook","validation-webhook","webhook"],"created_at":"2025-03-12T13:16:55.368Z","updated_at":"2026-06-20T04:31:27.048Z","avatar_url":"https://github.com/vishalanarase.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 **Memcached Operator**\n\n\u003e This project implements a Kubernetes operator for managing Memcached instances. The operator automates the deployment, scaling, and management of Memcached clusters in a Kubernetes environment. It leverages the Operator SDK to create admission webhooks for validating and mutating custom resources.\n\n![Memcached Operator](./docs/images/mem-op.jpg)\n\n## 📚 **Table of Contents**\n\n- [Project Structure](#project-structure)\n- [Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Kind Cluster Setup](#kind-cluster-setup)\n  - [Docker Build and Push](#docker-build-and-push)\n  - [Deploying the Operator](#deploying-the-operator)\n  - [Testing](#testing-the-operator)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [Code of Conduct](#code-of-conduct)\n- [License](#license)\n- [Please Star the Repo](#please-star-the-repo)\n\n---\n\n## 🏗️ **Project Structure**\n\n- **Dockerfile, Makefile, README.md**: Project build, configuration, and documentation files. 🛠️\n- **LICENSE**: License file for the project. 📄\n- **PROJECT**: The project-specific metadata and configuration details. 📋\n- **api**: Defines the custom resources, types, and webhooks for the operator.\n- **bin**: Contains compiled binaries and tools for the operator.\n- **cmd**: Main application entry point for starting the operator.\n- **config**: Kubernetes and operator configurations.\n- **docs**: Documentation related to the operator.\n- **go.mod, go.sum**: Go module definition files for managing dependencies.\n- **hack**: Helper scripts or files for project setup or boilerplate code.\n- **internal**: Internal logic for the operator.\n- **test**: Tests for the operator.\n\n---\n\n## 🏁 **Getting Started**\n\n### 📋 **Prerequisites**\n\nBefore you start, make sure you have the following tools installed:\n\n- **Kind** 🛠️\n- **Docker** 🐳\n- **kubectl** 🛑\n- **kustomize** 🧩\n- **Go** (for development) 🖥️\n\n### 🌍 **Kind Cluster Setup**\n\n1. **Kind cluster configuration**:\n\n```yaml\nkind: Cluster\napiVersion: kind.x-k8s.io/v1alpha4\nnodes:\n- role: control-plane\n  image: kindest/node:v1.32.2\n- role: worker\n  image: kindest/node:v1.32.2\n- role: worker\n  image: kindest/node:v1.32.2\n```\n\n2. **Apply the cluster configuration**:\n\n```bash\nkind create cluster --config kind.yaml\n```\n\nFollow the [instructions](docs/certs.md) to generate the necessary certificates for the operator.\n\n### 🏗️ **Docker Build and Push**\n\nBuild and push the operator image to your Docker registry\n\n### 🚀 **Deploying the Operator**\n\n```bash\nmake deploy\n```\n\n### 🧪 **Testing the Operator**\n\nTest the operator by creating a Memcached custom resource:\n\n```bash\nkubectl apply -f manifests/examples/memcached-cr.yaml\n```\n\n### 🧹 **Cleanup**\n\nTo clean up:\n\n```bash\nmake undeploy\nkind delete cluster\n```\n\n---\n\n## 🛠️ **Usage**\n\nThe operator manages the lifecycle of Memcached resources. It ensures that the desired state (such as number of replicas and configuration) for Memcached instances is maintained. The operator will:\n\n- Deploy Memcached resources based on custom resources.\n- Automatically scale Memcached instances.\n- Monitor the health of Memcached instances.\n\n---\n\n## 🙋‍♂️ **Contributing**\n\nPull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.\n\n---\n\n## 🧑‍🤝‍🧑 **Code of Conduct**\n\nThis project and everyone participating in it is governed by the [Contributor Covenant Code of Conduct](https://www.contributor-covenant.org/). By participating, you are expected to uphold this code. Please report unacceptable behavior to the project team.\n\nThe goal of this code of conduct is to ensure a welcoming, respectful, and productive environment for all contributors. The expectations are:\n\n- **Be respectful**: Treat everyone with kindness and empathy.\n- **Be inclusive**: Embrace diversity of thought, background, and perspective.\n- **Be responsible**: Take ownership of your contributions and interactions.\n- **Be collaborative**: Foster a cooperative environment where knowledge sharing is encouraged.\n\nFor more details, please refer to the full [Code of Conduct](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).\n\n---\n\n## 📄 **License**\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n---\n\n## ⭐ **Please Star the Repo**\n\nIf you find this project useful, please consider giving it a ⭐️ on GitHub. Your star helps us reach more developers and contributors and supports the continued improvement of the project. It’s a great way to show appreciation! 😊\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishalanarase%2Fmemcached-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishalanarase%2Fmemcached-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishalanarase%2Fmemcached-operator/lists"}