Удаление#

Удаление централизованного Synapse Rate Limiter Service#

Для удаления Synapse Rate Limit необходимо удалить следующие ресурсы:

Версия

Тип

Название

apps/v1

Deployment

rloperator

apps/v1

Deployment

rate-limiter-service

apps/v1

Deployment

egress-${srls.namespace}

v1

Service

rloperator

v1

Service

rate-limiter-service

v1

Service

rate-limiter-headless-service

v1

Service

egressgateway-rls-svc

coordination.k8s.io/v1

Lease

srls-operator-lock

v1

ConfigMap

operator-config

v1

ConfigMap

operator-fluent-bit-sidecar

v1

ConfigMap

rlservice-fluent-bit-sidecar

v1

ConfigMap

rls-config

policy/v1

PodDisruptionBudget

rloperator-pdb

policy/v1

PodDisruptionBudget

rls-pdb

policy/v1

PodDisruptionBudget

egress-pdb

networking.istio.io/v1alpha3

DestinationRule

egress-vaultagent-dr

networking.istio.io/v1alpha3

Gateway

egress-vaultagent-gw

networking.istio.io/v1alpha3

ServiceEntry

egress-vaultagent-se

networking.istio.io/v1alpha3

VirtualService

egress-vaultagent-vs

security.istio.io/v1beta1

PeerAuthentication

egress-pa

security.istio.io/v1beta1

PeerAuthentication

srls-pa

Если был установлен Radish, то еще удалить следующие ресурсы

apps/v1

StatefulSet

radish

v1

Service

radish

v1

ConfigMap

radish

policy/v1

PodDisruptionBudget

radish-pdb

networking.istio.io/v1alpha3

ServiceEntry

external-radish

networking.istio.io/v1alpha3

DestinationRule

radish-dr-all

networking.istio.io/v1alpha3

DestinationRule

radish-dr-0

networking.istio.io/v1alpha3

DestinationRule

radish-dr-1

Если были установлены Redis и Redis Sentinel, то еще удалить следующие ресурсы

apps/v1

StatefulSet

redis

apps/v1

StatefulSet

redis-sentinel

v1

Service

redis

v1

Service

redis-sentinel

v1

ConfigMap

redis

v1

ConfigMap

redis-sentinel

policy/v1

PodDisruptionBudget

redis-pdb

policy/v1

PodDisruptionBudget

redis-sentinel-pdb

networking.istio.io/v1alpha3

ServiceEntry

external-redis

networking.istio.io/v1alpha3

ServiceEntry

external-redis-sentinel

Если была включена отправка логов в Kafka, а также включено обновление адресов брокеров Kafka

networking.istio.io/v1beta1

DestinationRule

egress-kafka-dr

networking.istio.io/v1beta1

DestinationRule

egress-kafka-svc-dr

networking.istio.io/v1alpha3

ServiceEntry

egress-kafka-se

networking.istio.io/v1beta1

VirtualService

egress-kafka-vs

networking.istio.io/v1beta1

Gateway

egress-kafka-gw

v1

Service

egress-kafka-rls-svc

Если была включена интеграция с компонентом SYND

v1

Service

rloperator-headless-service

discovery.synapse.sber/v1alpha1

DiscoveryExport

discoveryexport-srls

Если SRLS был установлен в режиме NЦОД

apps/v1

Deployment

ingress-${srls.namespace}

policy/v1

PodDisruptionBudget

ingress-pdb

v1

Service

ingress-rloperator

v1

Service

egress-rloperator-${index}

networking.istio.io/v1alpha3

Gateway

ingress-rloperator

networking.istio.io/v1alpha3

Gateway

egress-rloperator-${index}

networking.istio.io/v1alpha3

VirtualService

ingress-rloperator

networking.istio.io/v1alpha3

VirtualService

egress-int-rloperator-${index}

networking.istio.io/v1alpha3

VirtualService

egress-ext-rloperator-${index}

networking.k8s.io/v1

Ingress

ingress-rloperator

networking.istio.io/v1alpha3

DestinationRule

egress-int-rloperator-${index}

networking.istio.io/v1alpha3

DestinationRule

egress-ext-rloperator-${index}

networking.istio.io/v1alpha3

ServiceEntry

egress-rloperator-${index}

Удаление децентрализованного Synapse Rate Limiter Service#

Для удаления Synapse Rate Limit необходимо удалить следующие ресурсы:

Версия

Тип

Название

apps/v1

Deployment

rloperator

coordination.k8s.io/v1

Lease

srls-operator-lock

v1

ConfigMap

operator-config

v1

Service

rloperator

v1

ConfigMap

operator-fluent-bit-sidecar

v1

ConfigMap

rls-config

v1

Service

rate-limiter-service

v1

Service

rate-limiter-headless-service

apps/v1

Deployment

rate-limiter-service

Если был установлен Radish, то еще удалить следующие ресурсы

apps/v1

StatefulSet

radish

v1

Service

radish

v1

ConfigMap

radish

policy/v1

PodDisruptionBudget

radish-pdb

networking.istio.io/v1alpha3

ServiceEntry

external-radish

Если были установлены Redis и Redis Sentinel, то еще удалить следующие ресурсы

apps/v1

StatefulSet

redis

apps/v1

StatefulSet

redis-sentinel

v1

Service

redis

v1

Service

redis-sentinel

v1

ConfigMap

redis

v1

ConfigMap

redis-sentinel

policy/v1

PodDisruptionBudget

redis-pdb

policy/v1

PodDisruptionBudget

redis-sentinel-pdb

networking.istio.io/v1alpha3

ServiceEntry

external-redis

networking.istio.io/v1alpha3

ServiceEntry

external-redis-sentinel

Если была включена отправка логов в Kafka, а также включено обновление адресов брокеров Kafka

networking.istio.io/v1beta1

DestinationRule

egress-kafka-dr

networking.istio.io/v1beta1

DestinationRule

egress-kafka-svc-dr

networking.istio.io/v1alpha3

ServiceEntry

egress-kafka-se

networking.istio.io/v1beta1

VirtualService

egress-kafka-vs

networking.istio.io/v1beta1

Gateway

egress-kafka-gw

v1

Service

egress-kafka-rls-svc

Если была включена интеграция с компонентом SYND

v1

Service

rloperator-headless-service

discovery.synapse.sber/v1alpha1

DiscoveryExport

discoveryexport-srls

Если SRLS был установлен в режиме NЦОД

apps/v1

Deployment

ingress-${srls.namespace}

policy/v1

PodDisruptionBudget

ingress-pdb

v1

Service

ingress-rloperator

v1

Service

egress-rloperator-${index}

networking.istio.io/v1alpha3

Gateway

ingress-rloperator

networking.istio.io/v1alpha3

Gateway

egress-rloperator-${index}

networking.istio.io/v1alpha3

VirtualService

ingress-rloperator

networking.istio.io/v1alpha3

VirtualService

egress-int-rloperator-${index}

networking.istio.io/v1alpha3

VirtualService

egress-ext-rloperator-${index}

networking.k8s.io/v1

Ingress

ingress-rloperator

networking.istio.io/v1alpha3

DestinationRule

egress-int-rloperator-${index}

networking.istio.io/v1alpha3

DestinationRule

egress-ext-rloperator-${index}

networking.istio.io/v1alpha3

ServiceEntry

egress-rloperator-${index}

Удаление EnvoyFilter «Cluster» и «Endpoint»#

EnvoyFilter, созданные с помощью дистрибутива, содержат label: filter: envoy-srls.

Для удаления EnvoyFilter из namespace <namespace> необходимо выполнить команду:

kubectl delete EnvoyFilter -l filter=envoy-srls -n <namespace>