Merge pull request #6113 from XiShanYongYe-Chang/update-resourceinterprewebhook-readme
[Cleanup] update some describetion with the resourceinterpreterwebhook readme file
This commit is contained in:
commit
69abca81ca
|
@ -144,7 +144,7 @@ clientConfig:
|
|||
caBundle: {{caBundle}}
|
||||
```
|
||||
|
||||
Alternatively, you can also define service in clientConfig, which requires you to deploy a Service of type ExternalName in `Karmada-apiserver`:
|
||||
Alternatively, you can also declare service in clientConfig:
|
||||
|
||||
```yaml
|
||||
clientConfig:
|
||||
|
@ -156,7 +156,7 @@ clientConfig:
|
|||
path: /interpreter-workload
|
||||
```
|
||||
|
||||
Deploy the Service in `karmada-apiserver`.
|
||||
You can deploy a `ExternalName` type Service in `karmada-apiserver`:
|
||||
|
||||
```yaml
|
||||
apiVersion: v1
|
||||
|
@ -169,6 +169,8 @@ spec:
|
|||
externalName: karmada-interpreter-webhook-example.karmada-system.svc.cluster.local
|
||||
```
|
||||
|
||||
Or you do not need to deploy any Service in `karmada-apiserver`, it will fall back to standard Kubernetes service DNS name format: `https://karmada-interpreter-webhook-example.karmada-system.svc:443/interpreter-workload`.
|
||||
|
||||
In the example of this article, you can directly run the following script to deploy ResourceInterpreterWebhookConfiguration:
|
||||
|
||||
<details>
|
||||
|
|
Loading…
Reference in New Issue