Skip to content

The Central Kubernetes Management Platform For Any Infrastructure

License

Notifications You must be signed in to change notification settings

moelsayed/kubermatic

 
 

Repository files navigation

Kubermatic Kubernetes Platform

Overview / User Guides

Kubermatic Kubernetes Platform is in an open source project to centrally manage the global automation of thousands of Kubernetes clusters across multicloud, on-prem and edge with unparalleled density and resilience.

All user documentation is available at the Kubermatic Kubernetes Platform docs website.

Editions

There are two editions of Kubermatic Kubernetes Platform:

Kubermatic Kubernetes Platform Community Edition (CE) is available freely under the Apache License, Version 2.0. Kubermatic Kubernetes Platform Enterprise Edition (EE) includes premium features that are most useful for organizations with large-scale Kubernetes installations with more than 50 clusters. To access the Enterprise Edition and get official support please become a subscriber.

Licensing

See the LICENSE file for licensing information as it pertains to files in this repository.

Installation

We strongly recommend that you use an official release of Kubermatic Kubernetes Platform. Follow the instructions under the Installation section of our documentation to get started.

The code and sample YAML files in the master branch of the kubermatic repository are under active development and are not guaranteed to be stable. Use them at your own risk!

More information

The documentation provides a getting started guide, plus information about building from source, architecture, extending kubermatic, and more.

Please use the version selector at the top of the site to ensure you are using the appropriate documentation for your version of kubermatic.

Troubleshooting

If you encounter issues file an issue or talk to us on the #kubermatic channel on the Kubermatic Slack.

Contributing

Thanks for taking the time to join our community and start contributing!

Feedback and discussion are available on the mailing list.

Before you start

Repository layout

├── addons            # Default Kubernetes addons
├── CHANGELOG.md      # The changelog
├── cmd               # Various Kubermatic binaries for the API, controller-managers etc.
├── codegen           # Helper programs to generate Go code and Helm charts
├── charts            # The Helm charts we use to deploy, gets exported to https://github.com/kubermatic/kubermatic-installer
├── containers        # Various utility container images
├── docs              # Some basic docs
├── hack              # scripts for development and CI
├── openshift_addons  # Default Openshift addons
├── OWNERS
├── OWNERS_ALIASES
├── pkg               # most of the actual codebase
├── Procfile
└── README.md

Development environment

mkdir -p $(go env GOPATH)/src/k8c.io
cd $(go env GOPATH)/src/k8c.io
git clone git@github.com:kubermatic/kubermatic
cd kubermatic

Or alternatively:

go get k8c.io/kubermatic

There are a couple of scripts in the hacks directory to aid in running the components locally for testing purposes.

You can create a cluster via the UI at https://dev.kubermatic.io, then use kubectl to add a worker-name=<<hostname-of-your-laptop>> label to the cluster. This will make your locally running controllers manage the cluster.

Running locally

kubermatic-api
./hack/run-api.sh
seed-controller-manager
./hack/run-controller.sh
master-controller-manager
./hack/run-master-controller-manager.sh

Run linters

Before every push, make sure you run:

make check

gofmt errors can be automatically fixed by running

make fix

Run tests

make test

Update code generation

Kuberneres code-generator tool does not work out of GOPATH see, if you followed the recommendation and cloned your repository at $(go env GOPATH)/src/k8c.io you can run the following command:

hack/update-codegen.sh

Otherwise run the following (requires Docker):

make update-codegen-in-docker

Pull requests

  • We welcome pull requests. Feel free to dig through the issues and jump in.

Changelog

See the list of releases to find out about feature changes.

About

The Central Kubernetes Management Platform For Any Infrastructure

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.8%
  • Shell 2.9%
  • Dockerfile 0.2%
  • Makefile 0.1%
  • CSS 0.0%
  • Mustache 0.0%