Skip to content
This repository has been archived by the owner. It is now read-only.
No description, website, or topics provided.
Go Shell Makefile Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Godeps
artifacts/etcdstorages
hack
pkg
vendor
.travis.yml
AUTHORS
Dockerfile
LICENSE
Makefile
README.md
code-of-conduct.md
main.go

README.md

etcdstorage-apiserver

This API server served as initial prototype for my GSoC Project—Storage API for Aggregated API Server, but it was decided to use CRDs instead. The new controller can be found in the xmudrii/etcdproxy-controller repository.

Implements: https://groups.google.com/d/msg/kubernetes-sig-api-machinery/rHEoQ8cgYwk/iglsNeBwCgAJ

It provides an API for handling etcd endpoints.

Purpose

This API server provides the implementation for exposing namespace-proxied etcd server as described in implementation.

Compatibility

HEAD of this repo will match HEAD of k8s.io/apiserver, k8s.io/apimachinery, and k8s.io/client-go.

Running etcdstorage-apiserver

Steps for running the API server is similar to steps for running sample-apiserver, so check it out for running API server.

Once API server is running, you can use the following command to list all etcd servers:

http --verify=no --cert client.crt --cert-key client.key \
        https://localhost:8443/apis/etcdstorage.k8s.io/v1alpha1/namespaces/default/etcdstorages

To create an etcdstorage, you can use the following command:

http --verify no -j --cert-key client.key --cert client.crt https://localhost:8443/apis/etcdstorage.k8s.io/v1alpha1/namespaces/default/flunders < <(python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=4)' < artifacts/etcdstorages/01-etcdstorage.yml)
You can’t perform that action at this time.