Skip to content

Delete Hybrid Installation

Yuriy Lesyuk edited this page Aug 10, 2020 · 4 revisions

Delete Hybrid Installation

TODO: [ ] restore enough state to remove SAs and cluster

?. Restore environment if you cannot find one. Example

export PROJECT=apigee-sme-academy-emea-anthos

export AHR_HOME=~/apigee-hybrid/ahr
export PATH=$AHR_HOME/bin:$PATH

export HYBRID_HOME=~/apigee-hybrid/$PROJECT

source $AHR_HOME/bin/ahr-env
source <(ahr-runtime-ctl home)

cd $HYBRID_HOME

?. Delete Service Accounts

# reset setsync identity
ahr-runtime-ctl setsync ""

# delete hybrid service accounts
ahr-sa-ctl delete all

?. Delete cluster

ahr-cluster-ctl delete
Clone this wiki locally