typhon-project / typhondl

http://www.typhon-project.org
Eclipse Public License 2.0
1 stars 0 forks source link

Deployment of the Analytics component with Kubernetes #39

Closed MarieSaphira closed 4 years ago

MarieSaphira commented 4 years ago

After downloading and unpacking the strimzi-x.y.z.zip (e.g. 0.17.0) the analytics component can be started with:

    kubectl create namespace kafka
    kubectl create namespace typhon
    kubectl apply -n kafka -f kafka/strimzi-0.17.0/install/cluster-operator/
    kubectl apply -n typhon -f kafka/strimzi-0.17.0/install/cluster-operator/020-RoleBinding-strimzi-cluster-operator.yaml
    kubectl apply -n typhon -f kafka/strimzi-0.17.0/install/cluster-operator/032-RoleBinding-strimzi-cluster-operator-topic-operator-delegation.yaml 
    kubectl apply -n typhon -f kafka/strimzi-0.17.0/install/cluster-operator/031-RoleBinding-strimzi-cluster-operator-entity-operator-delegation.yaml
    kubectl create -n typhon -f typhon-cluster.yml 
    kubectl wait kafka/typhon-cluster --for=condition=Ready --timeout=300s -n typhon 
    kubectl -n typhon apply -f flink/flink-configuration-configmap.yaml
    kubectl -n typhon apply -f flink/jobmanager-service.yaml
    kubectl -n typhon apply -f flink/jobmanager-deployment.yaml
    kubectl -n typhon apply -f flink/taskmanager-deployment.yaml

Do I have to edit the following before? @patrickneubauer Edit the install/cluster-operator/050-Deployment-strimzi-cluster-operator.yaml file and set the STRIMZI_NAMESPACE environment variable to the namespace my-kafka-project.

# ...
env:
- name: STRIMZI_NAMESPACE
  value: my-kafka-project
# ...

@OrfenCLMS could we put a "typhon-version" of the strimzi zip in our repository (where the images are)?

MarieSaphira commented 4 years ago

resolved by #47