You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by gy...@apache.org on 2022/03/24 15:33:53 UTC
[flink-kubernetes-operator] branch main updated: Fix development guide document (#97)
This is an automated email from the ASF dual-hosted git repository.
gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new c92917b Fix development guide document (#97)
c92917b is described below
commit c92917b569225750b708ba63b71c3d1461b2f4f2
Author: Jaegu Kim <ki...@kakao.com>
AuthorDate: Fri Mar 25 00:33:50 2022 +0900
Fix development guide document (#97)
---
docs/content/docs/development/guide.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/content/docs/development/guide.md b/docs/content/docs/development/guide.md
index 09dad7f..a688415 100644
--- a/docs/content/docs/development/guide.md
+++ b/docs/content/docs/development/guide.md
@@ -37,20 +37,20 @@ and [helm](https://helm.sh/docs/intro/quickstart/) on your local machine. For th
### Building docker images
You can build your own flavor of image as follows via specifying your `<repo>`:
```bash
-docker build . -t <repo>/flink-java-operator:latest
-docker push <repo>/flink-java-operator:latest
+docker build . -t <repo>/flink-operator:latest
+docker push <repo>/flink-operator:latest
```
If you are using minikube you might want to load the image directly instead of pushing it to a registry:
```bash
-minikube image load <repo>/flink-java-operator:latest
+minikube image load <repo>/flink-operator:latest
```
You can cut a corner via using the docker daemon of your minikube installation directly as follows:
```bash
eval $(minikube docker-env)
-DOCKER_BUILDKIT=1 docker build . -t <repo>/flink-operator
+DOCKER_BUILDKIT=1 docker build . -t <repo>/flink-operator:latest
```
When you want to reset your environment to the defaults you can do the following:
@@ -72,7 +72,7 @@ docker@minikube:~$ exit
### Installing the operator locally
```bash
-helm install flink-operator helm/flink-operator --set image.repository=<repo> --set image.tag=latest
+helm install flink-operator helm/flink-operator --set image.repository=<repo>/flink-operator --set image.tag=latest
```
### Running the operator locally
You can run or debug the `FlinkOperator` from your preferred IDE. The operator itself is accessing the deployed Flink clusters through the REST interface. When running locally the `rest.port` and `rest.address` Flink configuration parameters must be modified to a locally accessible value.