Constellation is the first Confidential Kubernetes. Constellation shields entire Kubernetes clusters from the (cloud) infrastructure using confidential computing.
Go to file
Moritz Sanft 8e4feb7e2a
terraform: add Terraform module for Azure (#2566)
* add Azure Terraform module

* add maa-patching command to cli

* refactor release process

* factor out image fetching to own action

* add CI

* generate

* fix some unnecessary changes

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* use `constellation maa-patch` in ci

* insecure flag when using debug image

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* only update maa url if existing

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* make node group zone optional on aws and gcp

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* [remove] register updated workflow

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* Revert "[remove] register updated workflow"

This reverts commit e70b9515b7eabbcbe0d41fa1296c48750cd02ace.

* create MAA

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* make maa-patching only run on azure

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* add comment

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* require node group zone for GCP and AWS

* remove unnecessary bazel action

* stamp version to correct file

* refer to `maa-patch` command in docs

* run Azure test in weekly e2e

* comment / naming improvements

* remove sa_account resource

* disable spellcheck ot use "URL"

* `create_maa` variable

* don't write maa url to config

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* default to nightly image

* use input ref and stream

* fix command check

* don't set region in weekly e2e call

* patch maa if url is not empty

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* remove `create_maa` variable

* remove binaries

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* remove undefined input

* replace invalid attestation URL error message

Co-authored-by: Thomas Tendyck <51411342+thomasten@users.noreply.github.com>

* fix punctuation

Co-authored-by: Thomas Tendyck <51411342+thomasten@users.noreply.github.com>

* skip hidden commands in clidocgen

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* enable spellcheck before code block

* move spellcheck trigger out of info block

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* fix workflow dependencies

* let image default to CLI version

---------

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
Co-authored-by: Thomas Tendyck <51411342+thomasten@users.noreply.github.com>
2023-11-13 18:46:20 +01:00
.github terraform: add Terraform module for Azure (#2566) 2023-11-13 18:46:20 +01:00
3rdparty deps: bump Go to 1.21.4 (#2569) 2023-11-09 20:17:14 +01:00
bazel deps: update linux kernel to 6.1.62 (#2582) 2023-11-13 14:54:53 +01:00
bootstrapper bootstrapper: ignore "journald" not in $PATH in constructor 2023-11-10 18:15:59 +01:00
cli terraform: add Terraform module for Azure (#2566) 2023-11-13 18:46:20 +01:00
csi csi: fix concurrent use of cryptmapper package (#2408) 2023-10-05 11:20:22 +02:00
debugd ci: separate logs and metrics indices (#2544) 2023-10-31 12:09:27 +01:00
dev-docs terraform: add Terraform module for Azure (#2566) 2023-11-13 18:46:20 +01:00
disk-mapper disk-mapper: package as tar 2023-09-27 17:58:19 +02:00
docs terraform: add Terraform module for Azure (#2566) 2023-11-13 18:46:20 +01:00
e2e ci: use structured logging for all parts of the malicious-join test (#2557) 2023-11-07 09:02:19 +01:00
hack terraform: add Terraform module for Azure (#2566) 2023-11-13 18:46:20 +01:00
image image: update locked rpms (#2575) 2023-11-12 11:20:48 +01:00
internal image: update measurements and image version (#2571) 2023-11-13 06:54:09 +01:00
joinservice joinservice: cache certificates for Azure SEV-SNP attestation (#2336) 2023-09-29 14:29:50 +02:00
keyservice cli: use Semver type to represent microservice versions (#2125) 2023-07-25 14:20:25 +02:00
measurement-reader measurement-reader: package as tar 2023-09-27 17:58:19 +02:00
nix/shells nix: init flake 2023-09-27 17:58:19 +02:00
operators/constellation-node-operator deps: update golangci/golangci-lint to v1.55.1 (#2517) 2023-11-02 11:16:17 +01:00
rfc cli: use state file on init and upgrade (#2395) 2023-10-09 13:04:29 +02:00
rpm deps: remove dangling symlinks from libvirt-libs 2023-11-10 18:15:59 +01:00
s3proxy s3proxy: ship as helm chart 2023-11-06 10:21:11 +01:00
terraform terraform: add Terraform module for Azure (#2566) 2023-11-13 18:46:20 +01:00
tools bazel: rewrite pseudo-version stamping in bash (#2020) 2023-07-05 14:42:18 +02:00
upgrade-agent upgrade-agent: package as tar 2023-09-27 17:58:19 +02:00
verify cli: use Semver type to represent microservice versions (#2125) 2023-07-25 14:20:25 +02:00
.bazelrc ci: use rbe for unit tests 2023-11-10 18:15:59 +01:00
.bazelversion deps: bump Go to 1.21.4 (#2569) 2023-11-09 20:17:14 +01:00
.dockerignore ci: run versionsapi as docker action 2023-01-13 10:23:43 +01:00
.gitignore s3proxy: initial e2e tests and workflows 2023-11-06 10:21:11 +01:00
.golangci.yml ci: add e2e-upgrade test 2023-03-23 14:57:38 +01:00
.grype.yaml ci: ignore replaced ghsa (#1392) 2023-03-10 11:13:05 +01:00
.lycheeignore ci: remove Azure portal internal links from docs (#2122) 2023-07-20 15:04:34 +02:00
.shellcheckrc Fix shellcheck warnings 2022-11-11 13:40:13 +01:00
.vale.ini Add docs to repo (#38) 2022-09-02 11:52:42 +02:00
BUILD.bazel bazel: allow custom container_prefix (#1693) 2023-04-27 11:52:02 +02:00
CMakeLists.txt operators: use bazel to run operator envtests 2023-08-17 10:46:45 +02:00
CODE_OF_CONDUCT.md Ref/readme (#375) 2022-08-19 14:54:11 +02:00
CODEOWNERS cli: remove old migration steps and id-file references (#2440) 2023-10-13 10:21:21 +02:00
CONTRIBUTING.md dev-docs: refactor and add information for newbies (#1912) 2023-06-19 17:39:43 +02:00
flake.lock deps: bump Go to 1.21.4 (#2569) 2023-11-09 20:17:14 +01:00
flake.nix bazel: add bazel itself as nixpkgs dependency 2023-11-10 18:15:59 +01:00
go.mod deps: update module k8s.io/kubernetes to v1.27.5 [SECURITY] (#2548) 2023-11-13 10:43:12 +01:00
go.sum deps: update module k8s.io/kubernetes to v1.27.5 [SECURITY] (#2548) 2023-11-13 10:43:12 +01:00
go.work deps: bump Go to 1.21.4 (#2569) 2023-11-09 20:17:14 +01:00
LICENSE add license 2022-09-05 09:17:25 +02:00
netlify.toml Add docs to repo (#38) 2022-09-02 11:52:42 +02:00
README.md Update README.md 2023-10-24 10:20:16 +02:00
renovate.json5 renovate: add regexManager for mint img 2023-11-06 10:21:11 +01:00
SECURITY.md promote new github security reporting feature 2022-11-10 16:31:13 +01:00
version.txt ci: start v2.13-pre window (#2426) 2023-10-10 18:33:04 +02:00
WORKSPACE.bazel bazel: add bazel itself as nixpkgs dependency 2023-11-10 18:15:59 +01:00

Constellation

Always Encrypted Kubernetes

Constellation License Govulncheck Go Report Discord Twitter

Constellation is a Kubernetes engine that aims to provide the best possible data security. It wraps your K8s cluster into a single confidential context that is shielded from the underlying cloud infrastructure. Everything inside is always encrypted, including at runtime in memory. For this, Constellation leverages confidential computing (see the whitepaper) and more specifically Confidential VMs.

Concept

Goals

From a security perspective, Constellation is designed to keep all data always encrypted and to prevent access from the infrastructure layer (i.e., remove the infrastructure from the TCB). This includes access from datacenter employees, privileged cloud admins, and attackers coming through the infrastructure (e.g., malicious co-tenants escalating their privileges).

From a DevOps perspective, Constellation is designed to work just like what you would expect from a modern K8s engine.

Use cases

Encrypting your K8s is good for:

  • Increasing the overall security of your clusters
  • Increasing the trustworthiness of your SaaS offerings
  • Moving sensitive workloads from on-prem to the cloud
  • Meeting regulatory requirements

Features

🔒 Everything always encrypted

🔍 Everything verifiable

🚀 Performance and scale

  • High availability with multi-master architecture and stacked etcd topology
  • Dynamic cluster autoscaling with verification and secure bootstrapping of new nodes
  • Competitive performance (see K-Bench comparison with AKS and GKE)

🧩 Easy to use and integrate

Getting started

If you're already familiar with Kubernetes, it's easy to get started with Constellation:

  1. 📦 Install the CLI
  2. ⌨️ Create a Constellation cluster in the cloud or locally
  3. 🏎️ Run your app

Constellation Shell

Learn more: "Getting started with Constellation" videos series.

Live demos

We're running public instances of popular software on Constellation:

These instances run on CVMs in Azure and Constellation keeps them end-to-end confidential.

Documentation

To learn more, see the documentation. You may want to start with one of the following sections.

Support

  • If something doesn't work, make sure to use the latest release and check out the known issues.
  • Please file an issue to get help or report a bug.
  • Join the Discord to have a chat on confidential computing and Constellation.
  • Visit our blog for technical deep-dives and tutorials and follow us on LinkedIn for news.
  • Edgeless Systems also offers Enterprise Support.

Contributing

Refer to CONTRIBUTING.md on how to contribute. The most important points:

Warning

Please report any security issue via a private GitHub vulnerability report or write to security@edgeless.systems.

License

The Constellation source code is licensed under the GNU Affero General Public License v3.0. Edgeless Systems provides pre-built and signed binaries and images for Constellation. You may use these free of charge to create and run services for internal consumption, evaluation purposes, or non-commercial use. You can find more information in the license section of the docs.