
oneinfra is a Kubernetes as a Service platform, or KaaS.
It features a declarative infrastructure definition.
You can read more about its design here.
$ GO111MODULE=on go get github.com/oneinfra/oneinfra/...@master
This should have installed the following binaries:
oi-local-cluster: allows you to test oneinfra locally in your
machine, with docker containers as hypervisors.
oi: CLI tool that allows you to discover oneinfra.
oi-manager: Kubernetes set of controllers that reconcile your
oneinfra defined clusters.
You can create hypervisors in your machine with docker. Each docker container will resemble a physical or virtual hypervisor in your infrastructure.
$ oi-local-cluster cluster create | \
oi cluster inject --name cluster | \
oi component inject --name controlplane1 --cluster cluster --role controlplane | \
oi component inject --name controlplane2 --cluster cluster --role controlplane | \
oi component inject --name controlplane3 --cluster cluster --role controlplane | \
oi component inject --name loadbalancer --cluster cluster --role controlplane-ingress | \
oi reconcile | \
tee cluster.conf | \
oi cluster admin-kubeconfig --cluster cluster > ~/.kube/config
And access it:
$ kubectl cluster-info
Kubernetes master is running at https://127.0.0.1:30000
oneinfra is a heavy Work In Progress, and not intended for
production yet.
issued conditiononeinfra is licensed under the terms of the Apache 2.0 license.
Copyright (C) 2020 Rafael Fernández López <[email protected]>
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.
Content type
Image
Digest
Size
30.1 MB
Last updated
over 6 years ago
docker pull oneinfra/haproxy