-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
I am attempting to update the SSL certificate assigned to an AKS pod, but I am encountering a Python error during the process. I followed the exact same steps in the lower environment, where everything worked as expected without any issues. However, when replicating these steps in the pre-production environment, the error persists, and the certificate update fails.
Related command
az aks command invoke --resource-group [rg-name] --name [aks-name] --command "kubectl create secret tls preprod-cert -n pcp --cert=certificate.crt --key=private.key" --file=.
Errors
/usr/bin/az: line 5: 2081 Killed AZ_INSTALLER=RPM PYTHONPATH="$bin_dir/../lib64/az/lib/python3.9/site-packages"
Issue script & Debug output
getting the following error when I append --debug
/usr/bin/az: line 5: 2081 Killed AZ_INSTALLER=RPM PYTHONPATH="$bin_dir/../lib64/az/lib/python3.9/site-packages"
Expected behavior
to create the secret and add to the list.
Environment Summary
azure-cli 2.69.0 *
core 2.69.0 *
telemetry 1.1.0
Extensions:
ai-examples 0.2.5
databricks 1.0.1
interactive 0.5.3
ml 2.34.0
ssh 2.0.6
vm-repair 1.0.5
Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1
Python location '/usr/bin/python3.9'
Config directory '/home/gw/.azure'
Extensions directory '/home/gw/.azure/cliextensions'
Extensions system directory '/usr/lib/python3.9/site-packages/azure-cli-extensions'
Python (Linux) 3.9.19 (main, Dec 18 2024, 20:53:49)
[GCC 11.2.0]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response