Skip to content

Commit

Permalink
Upgrade version to 0.4.0 (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
anandswaminathan committed Jan 14, 2020
1 parent bb8834d commit e9054a4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions deploy/flinkk8soperator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
metadata:
labels:
app: flinkoperator
app.kubernetes.io/version: 0.3.0
app.kubernetes.io/version: 0.4.0
spec:
serviceAccountName: flinkoperator
volumes:
Expand All @@ -26,7 +26,7 @@ spec:
path: config.yaml
containers:
- name: flinkoperator-gojson
image: docker.io/lyft/flinkk8soperator:v0.3.0
image: docker.io/lyft/flinkk8soperator:v0.4.0
command:
- flinkoperator
args:
Expand Down
2 changes: 1 addition & 1 deletion deploy/flinkk8soperator_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
labels:
app: flinkk8soperator
app.kubernetes.io/name: flinkk8soperator
app.kubernetes.io/version: 0.3.0
app.kubernetes.io/version: 0.4.0
spec:
volumes:
- name: config-volume
Expand Down
14 changes: 7 additions & 7 deletions docs/quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ Follow the instructions [here](https://kubernetes.io/docs/tasks/tools/install-ku
* Let's first create the custom resource definition, namespace, and roles for running the flink operator.

```bash
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.3.0/deploy/crd.yaml
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.3.0/deploy/namespace.yaml
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.3.0/deploy/role.yaml
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.3.0/deploy/role-binding.yaml
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.4.0/deploy/crd.yaml
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.4.0/deploy/namespace.yaml
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.4.0/deploy/role.yaml
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.4.0/deploy/role-binding.yaml
```

* Before creating the flink operator deployment, edit/update the operator config:

``` bash
$ curl https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.3.0/deploy/config.yaml
$ curl https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.4.0/deploy/config.yaml
```

Replace the `{ingress_suffix}` to indicate your cluster's ingress url.
Expand All @@ -44,7 +44,7 @@ $ kubectl create -f config.yaml

Finally, create the operator Deployment:
```
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.3.0/deploy/flinkk8soperator.yaml
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.4.0/deploy/flinkk8soperator.yaml
```

* Ensure that the flink operator pod is *RUNNING*, and check operator logs if needed.
Expand All @@ -65,7 +65,7 @@ Make sure to edit the value of `sha` with the most recently pushed tag found [he
To run a flink application, run the following command:

```bash
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.3.0/examples/wordcount/flink-operator-custom-resource.yaml
$ kubectl create -f https://raw.githubusercontent.com/lyft/flinkk8soperator/v0.4.0/examples/wordcount/flink-operator-custom-resource.yaml
```

The above command will create the flink application custom resource in kubernetes. The operator will observe the custom resource, and will create a flink cluster in kubernetes.
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package version

var (
Version = "0.3.0"
Version = "0.4.0"
)

0 comments on commit e9054a4

Please sign in to comment.