From f2260682e3fccf6818dc2110f69d8bdf82291354 Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Wed, 21 Feb 2024 15:54:43 +0000 Subject: [PATCH] docs: Remove policy-controller references --- README.md | 14 ++------------ ...ariner-poc-2-gateways-resiliency-walkthrough.md | 6 +----- .../submariner-poc-hub-gateway-walkthrough.md | 6 ------ docs/installation/control-plane-installation.md | 3 +-- 4 files changed, 4 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 7c38aa90..3cee9d8d 100644 --- a/README.md +++ b/README.md @@ -43,17 +43,11 @@ When deploying the multicluster gateway controller using the make targets, the f 1. Build the controller image and load it into the control plane ```sh kubectl config use-context kind-mgc-control-plane - make kind-load-gateway-controller - - - kubectl config use-context kind-mgc-control-plane - make kind-load-policy-controller - + make kind-load-gateway-controller ``` 1. Deploy the controller(s) to the control plane cluster ```sh - make deploy-policy-controller make deploy-gateway-controller ``` @@ -73,12 +67,8 @@ When deploying the multicluster gateway controller using the make targets, the f 1. Run the controller locally: ```sh - - kubectl config use-context kind-mgc-control-plane - make build-gateway-controller install run-gateway-controller - kubectl config use-context kind-mgc-control-plane - make build-policy-controller install run-policy-controller + make build-gateway-controller run-gateway-controller ``` ## 3. Running the agent in the cluster: diff --git a/docs/experimental/submariner-poc-2-gateways-resiliency-walkthrough.md b/docs/experimental/submariner-poc-2-gateways-resiliency-walkthrough.md index 16b322e1..eeb5fe3a 100644 --- a/docs/experimental/submariner-poc-2-gateways-resiliency-walkthrough.md +++ b/docs/experimental/submariner-poc-2-gateways-resiliency-walkthrough.md @@ -107,11 +107,7 @@ kubectl create -f hack/ocm/gatewayclass.yaml In `T2` run the following to start the Gateway Controller: ```bash -make build-gateway-controller install run-gateway-controller - -#new window - -make build-policy-controller install run-policy-controller +make build-gateway-controller run-gateway-controller ``` ### Create a Gateway diff --git a/docs/experimental/submariner-poc-hub-gateway-walkthrough.md b/docs/experimental/submariner-poc-hub-gateway-walkthrough.md index 8e7f2c1c..78801ccf 100644 --- a/docs/experimental/submariner-poc-hub-gateway-walkthrough.md +++ b/docs/experimental/submariner-poc-hub-gateway-walkthrough.md @@ -112,12 +112,6 @@ In `T2` run the following to start the Gateway Controller: ```bash kind export kubeconfig --name=mgc-control-plane --kubeconfig=$(pwd)/local/kube/control-plane.yaml && export KUBECONFIG=$(pwd)/local/kube/control-plane.yaml make build-gateway-controller install run-gateway-controller - - -# new window - -kind export kubeconfig --name=mgc-control-plane --kubeconfig=$(pwd)/local/kube/control-plane.yaml && export KUBECONFIG=$(pwd)/local/kube/control-plane.yaml -make build-policy-controller install run-policy-controller ``` ### Create a Gateway diff --git a/docs/installation/control-plane-installation.md b/docs/installation/control-plane-installation.md index 058abe60..b27886d5 100644 --- a/docs/installation/control-plane-installation.md +++ b/docs/installation/control-plane-installation.md @@ -64,11 +64,10 @@ In addition to the MGC, this will also install the Kuadrant add-on manager and a Verify that the MGC and add-on manager have been installed and are running: ```bash -kubectl wait --timeout=5m -n multicluster-gateway-controller-system deployment/mgc-controller-manager deployment/mgc-policy-controller --for=condition=Available --context $HUB_CLUSTER +kubectl wait --timeout=5m -n multicluster-gateway-controller-system deployment/mgc-controller-manager --for=condition=Available --context $HUB_CLUSTER ``` ``` deployment.apps/mgc-controller-manager condition met -deployment/mgc-policy-controller condition met ``` Verify that the `GatewayClass` has been accepted by the MGC: