GitXplorerGitXplorer
x

etcdstorage-apiserver

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
b9c3673e2cef8b60869d8075c5a4f373be191429

README: add deprecation note

xxmudrii committed 6 years ago
Unverified
50b6f6f095527016f43e5bcf7a2432958dccfc3e

docker: Add Dockerfile and push image to hub

xxmudrii committed 7 years ago
Verified
0c1cb861c39b897044a6001bfeb0c488f0f4e119

docs: update readme formatting

xxmudrii committed 7 years ago
Verified
2c50e46dcd8a1edd69338ea1ffc3195004a87a1d

*: initial commit

xxmudrii committed 7 years ago

README

The README file for this repository.

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)