Skip to content

Commit

Permalink
Conformance results for v1.28/cdk
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Dyess <adam.dyess@canonical.com>
Co-authored-by: cdkbot <cdkbot@juju.solutions>
  • Loading branch information
cdkbot authored and addyess committed Aug 22, 2023
1 parent b8e7071 commit fbc7114
Show file tree
Hide file tree
Showing 4 changed files with 55,792 additions and 0 deletions.
10 changes: 10 additions & 0 deletions v1.28/cdk/PRODUCT.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
vendor: Canonical Ltd
name: Charmed Kubernetes
version: 1.28
website_url: https://www.ubuntu.com/kubernetes
repo_url: https://github.com/charmed-kubernetes/bundle
documentation_url: https://ubuntu.com/kubernetes/docs
product_logo_url: https://assets.ubuntu.com/v1/e6cd15f7-Charmed+Kubernetes_RGB_2022.svg
type: distribution
description: Deploy, scale and upgrade Kubernetes clusters across multiple physical or virtual machines with Charmed Kubernetes.
contact_email_address: kevin.monroe@canonical.com
50 changes: 50 additions & 0 deletions v1.28/cdk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Reproducing the test results

## Deploy Charmed Kubernetes on AWS

On Ubuntu or any OS that supports Snap run the following:

```console
% sudo snap install juju --classic

# With AWS credentials in a default location (ie ~/.aws/credentials)
% juju autoload-credentials

Looking for cloud and credential information on local client...

1. aws credential "default" (new)
Select a credential to save by number, or type Q to quit: 1

% juju bootstrap aws
% juju deploy charmed-kubernetes
% juju config kubernetes-control-plane allow-privileged=true
```

Note that the tests require privileged containers so we needed to configure the
control plane units appropriately.

Monitor the progress of the deployment using:

```console
% juju status
```

As soon as the deployment finalises you can fetch the kubeconfig:

```console
% juju scp kubernetes-control-plane/leader:config $HOME/.kube/
```

## Trigger the tests and retrieve the results

We follow the [official instructions](https://github.com/cncf/k8s-conformance/blob/master/instructions.md)
with one additional flag. Charmed Kubernetes control plane nodes have a NoSchedule taint by default.
Configure sonobuoy so the tests are not blocked waiting for the tainted control plane nodes:

```console
% export RBAC_ENABLED=$(kubectl api-versions | grep "rbac.authorization.k8s.io/v1" -c)
% sonobuoy run --mode=certified-conformance \
--plugin-env=e2e.E2E_EXTRA_ARGS=--non-blocking-taints=node-role.kubernetes.io/control-plane \
--wait
% sonobuoy retrieve
```
Loading

0 comments on commit fbc7114

Please sign in to comment.