Skip to content

Latest commit

 

History

History
executable file
·
87 lines (63 loc) · 5.68 KB

README.md

File metadata and controls

executable file
·
87 lines (63 loc) · 5.68 KB

Azure logo

Steadybit extension-azure

A Steadybit discovery and attack implementation to inject faults into various Azure services.

Learn about the capabilities of this extension in our Reliability Hub.

Configuration

Environment Variable Helm value Meaning Required Default
AZURE_CLIENT_ID azure.clientID Azure Client Id true
AZURE_TENANT_ID azure.tenantID Azure Tenant ID true
AZURE_CLIENT_SECRET azure.clientSecret Azure Client Secret false
AZURE_SUBSCRIPTION_ID azure.subscriptionID Azure Subscription ID false
STEADYBIT_EXTENSION_AZURE_CERTIFICATE_PATH azure.certificatePath Location of a certificate used to authenticate to azure false
STEADYBIT_EXTENSION_AZURE_CERTIFICATE_PASSWORD azure.certificatePassword Passphrase for the certificate used to authenticate to azure false
STEADYBIT_EXTENSION_DISCOVERY_ATTRIBUTES_EXCLUDES_VM discovery.attributes.excludes.vm List of Target Attributes which will be excluded during discovery. Checked by key equality and supporting trailing "*" false
STEADYBIT_EXTENSION_DISCOVERY_ATTRIBUTES_EXCLUDES_SCALE_SET_INSTANCE discovery.attributes.excludes.scaleSetInstance List of Target Attributes which will be excluded during discovery. Checked by key equality and supporting trailing "*" false

The extension supports all environment variables provided by steadybit/extension-kit.

When installed as linux package this configuration is in/etc/steadybit/extension-azure.

To obtain the needed azure keys, please refer to this documentation: https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#get-tenant-and-app-id-values-for-signing-in

Installation

Kubernetes

Detailed information about agent and extension installation in kubernetes can also be found in our documentation.

Recommended (via agent helm chart)

All extensions provide a helm chart that is also integrated in the helm-chart of the agent.

You must provide additional values to activate this extension.

--set extension-azure.enabled=true \
--set extension-azure.azure.clientID=YOUR_CLIENT_ID \
--set extension-azure.azure.clientSecret=YOUR_CLIENT_SECRET \
--set extension-azure.azure.tenantID=YOUR_TENANT_ID \

Additional configuration options can be found in the helm-chart of the extension.

Alternative (via own helm chart)

If you need more control, you can install the extension via its dedicated helm-chart.

helm repo add steadybit-extension-azure https://steadybit.github.io/extension-azure
helm repo update
helm upgrade steadybit-extension-azure \
    --install \
    --wait \
    --timeout 5m0s \
    --create-namespace \
    --namespace steadybit-agent \
    --set azure.clientID=YOUR_CLIENT_ID \
    --set azure.clientSecret=YOUR_CLIENT_SECRET \
    --set azure.tenantID=YOUR_TENANT_ID \
    steadybit-extension-azure/steadybit-extension-azure

Linux Package

Please use our agent-linux.sh script to install the extension on your Linux machine. The script will download the latest version of the extension and install it using the package manager.

After installing, configure the extension by editing /etc/steadybit/extension-azure and then restart the service.

Extension registration

Make sure that the extension is registered with the agent. In most cases this is done automatically. Please refer to the documentation for more information about extension registration and how to verify.