1. Delete the sample apps.
      kubectl delete ns tracks
    kubectl delete ns users
    kubectl delete ns pets
    kubectl delete ns store
    kubectl delete ServiceAccount portal-frontend -n gloo-system
    kubectl delete Service portal-frontend -n gloo-system
    kubectl delete Deployment portal-frontend -n gloo-system
      
  2. Get all of the Gloo Portal-related custom resources.
      kubectl get ApiDocs,ApiProducts,ApiSchemaDiscoveries,AuthConfigs,Gateways,HttpRoutes,Portals,PortalConfigs,RateLimitConfigs,ReferenceGrants,RouteOptions,Secrets,Upstreams -A
      
  3. Delete the custom resources, such as the following example.
      kubectl delete HttpRoute -n gloo-system tracks-route
    kubectl delete HttpRoute -n gloo-system petstore-route
    kubectl delete ApiProduct -n gloo-system tracks-svc-api-product
    kubectl delete ApiProduct -n gloo-system petstore-svc-api-product
    kubectl delete Portal -n gloo-system portal-developer
    kubectl delete HttpRoute -n gloo-system portal-backend-route
    kubectl delete HttpRoute -n gloo-system portal-frontend-route
    kubectl delete RouteOption -n gloo-system portal-cors