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

Uninstall using docker image error connecting localhost:8080 #8

Open
vicenteherrera opened this issue Feb 16, 2021 · 0 comments
Open

Comments

@vicenteherrera
Copy link
Contributor

When using docker command to uninstall:

docker run -it -v $HOME/.azure:/root/.azure \
  --entrypoint /app/uninstall-aks-audit-log.sh \
  sysdiglabs/aks-audit-log-installer:1 \
  -g <group> -c <cluster>

An error appears between the executed steps, and uninstall is not successful

AKS audit log integration with Sysdig agent

Uninstall AKS audit log integration resources
Resource group: alejandro-group
AKS cluster: alejandro-cluster
Sysdig agent namespace: sysdig-agent

This script will delete resources for AKS audit log integration:
  * Diagnostic setting auditlogdiagnostic in the cluster
  * Storage account alejandroclusterc6bd and all its containers
  * Event Hubs namespace alejandro-clusterc6bd and all its hubs
  * Kubernetes deployment: aks-audit-log-forwarder
  * Kubernetes service: sysdig-agent

Press ENTER to continue
[1/5] Deleting diagnostic settings: auditlogdiagnostic
[2/5] Deleting deployment: aks-audit-log-forwarder
kubectl delete deployment aks-audit-log-forwarder -n sysdig-agent
The connection to the server localhost:8080 was refused - did you specify the right host or port?
[3/5] Deleting storage account: alejandroclusterc6bd
[4/5] Deleting service: sysdig-agent
kubectl delete service sysdig-agent -n sysdig-agent
The connection to the server localhost:8080 was refused - did you specify the right host or port?
[5/5] Deleting event hubs namespace: alejandro-clusterc6bd

Delete commands sent, it may take some minutes to complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant