This operator deploys an Azure Cache for Redis into a specified resource group at the specified location.
Learn more about Azure Cache for Redis here.
Here is a sample YAML to provision an Azure Cache for Redis.
The spec is comprised of the following fields:
- Location
- ResourceGroupName
- Properties
- SKU
- Name
- Family
- Capacity
- EnableNonSslPort
- SubnetID
- StaticIP
- Configuration
- SKU
- SecretName
- KeyVaultToStoreSecrets
A Redis Cache needs the following fields to deploy, along with a location and resource group.
Properties.SKU.Name
Select a SKU, where the options are: Basic, Standard, and Premium.Properties.SKU.Family
Select a SKU Family, where the options are: C, P. If you selected a Premium SKU, then the corresponding SKU Family is P.Properties.SKU.Capacity
Set the desired capacityEnableNonSslPort
defaults to True
SecretName
specify the name of the secret. If none is given, it will fall back to the name of the redis cache.KeyVaultToStoreSecrets
specify a Key Vault to store primary and secondary credentials in. If none is given, it will default to storing credentials as a Kube Secret.Properties.SubnetID
specify a subnet ID to place the Redis Cache inProperties.StaticIP
specify a statis IP for the Redis CacheProperties.Configuration
specify configuration values as key value pairs for the Redis Cache
After creating an Azure Cache for Redis instance, the operator stores a JSON formatted secret with the following fields. For more details on where the secrets are stored, look here.
primaryKey
secondaryKey
You can follow the steps here to deploy, view and delete resources.