Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conformance results for v1.16/aks-engine-azurestack #726

Merged
merged 1 commit into from
Sep 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions v1.16/aks-engine-azurestack/PRODUCT.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
vendor: Microsoft
name: AKS Engine for Azure Stack
version: v0.41.2
website_url: https://github.com/msazurestackworkloads/aks-engine
documentation_url: https://github.com/msazurestackworkloads/aks-engine/blob/master/README.md
product_logo_url: https://landscape.cncf.io/logos/azure-aks-engine.svg
52 changes: 52 additions & 0 deletions v1.16/aks-engine-azurestack/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
To reproduce:

```
# Install Azure CLI and connect to Azure Stack based on https://docs.microsoft.com/en-us/azure/azure-stack/user/azure-stack-version-profiles-azurecli2

# [Optional] To learn details on how to use AKS Engine see "Usage" in https://github.com/Azure/aks-engine/blob/master/docs/tutorials/deploy.md

# To install Azure Stack AKS Engine use curl command below and unpack content
curl -L -s -f -O https://github.com/Azure/aks-engine/releases/download/v0.38.3/aks-engine-v0.38.3-linux-amd64.tar.gz

# Get the Kubernetes json file

curl -o kubernetes1.16.json https://raw.githubusercontent.com/Azure/aks-engine/master/examples/azure-stack/kubernetes-azurestack.json

# Open the Kubernetes json file and update orchestratorRelease value to 1.16

# To run the sonobuoy tests follow these steps:

# 1. Get the current Azure Stack subscription ID, ssh, SPN secret.

$ az login

$ SUBID=`az account list --all -o table |grep True |awk -F ' ' '{print $3}'`

# 2. Deploy the kubernetes cluster

$ aks-engine deploy \
--api-model kubernetes1.16.json \
--auth-method client_secret \
--azure-env AzureStackCloud \
--location local \
--identity-system azure_ad \
--subscription-id $SUBID

# 3. Run below steps on master

$ curl -L -o sonobuoy_0.16.0_linux_amd64.tar.gz \
https://github.com/heptio/sonobuoy/releases/download/v0.16.0/sonobuoy_0.16.0_linux_amd64.tar.gz

# untar the tarball.
$ sudo tar -xvf sonobuoy_0.16.0_linux_amd64.tar.gz

# Start the tests.
$ ./sonobuoy run

# Wait till sonobuoy runs are complete. You can query using below command or wait for ~60minutes.
$ ./sonobuoy status | grep running

# Retrieve the results. This will create a tar file.
$ ./sonobuoy retrieve

# untar the tarball, then add plugins/e2e/results/global/{e2e.log,junit_01.xml}
Loading