Skip to content

Commit

Permalink
docs: add parametes to debug KubeZoo binary locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverglass committed Sep 28, 2022
1 parent 5004247 commit d01f851
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/developer-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,37 @@ Build kubezoo-e2e-test binary to test KubeZoo.
```bash
make e2e
```

Parameters to debug KubeZoo binary locally
```bash
--allow-privileged=true
--apiserver-count=1
--cors-allowed-origins=.*
--delete-collection-workers=1
--etcd-prefix=/zoo
--etcd-servers=http://localhost:2379 # run etcd server locally
--event-ttl=1h0m0s
--logtostderr=true
--max-requests-inflight=1002
--service-cluster-ip-range=192.168.0.1/16
--service-node-port-range=20000-32767
--storage-backend=etcd3
--authorization-mode=AlwaysAllow
--client-ca-file=/path_to_client_ca_file
--client-ca-key-file=/path_to_client_ca_key_file
--tls-cert-file=/path_to_tls_cert_file
--tls-private-key-file=/path_to_tls_private_key_file
--service-account-key-file=/path_to_upstream_service_account_key_file
--service-account-issuer=foo
--service-account-signing-key-file=/path_to_upstream_service_account_signing_key_file
--proxy-client-cert-file=/path_to_proxy_client_cert_file
--proxy-client-key-file=/path_to_proxy_client_key_file
--proxy-client-ca-file=/path_to_proxy_client_ca_file
--request-timeout=10m
--watch-cache=true
--proxy-upstream-master=https://127.0.0.1:49329 # run upstream cluster with kind
--service-account-lookup=false
--proxy-bind-address=127.0.0.1
--proxy-secure-port=6443
--api-audiences=foo
```

0 comments on commit d01f851

Please sign in to comment.