I am installing a simple FlinkDeployment CR on my ...
# troubleshooting
a
I am installing a simple FlinkDeployment CR on my kubernetes cluster:
Copy code
apiVersion: flink.ibm.com/v1beta1
kind: FlinkDeployment
metadata:
  name: flink-quick-start
  namespace: flink-test
spec:
  flinkConfiguration:
    license.accept: 'false'
    execution.checkpointing.interval: '5000'
    state.backend.type: rocksdb
    state.checkpoints.num-retained: '3'
    taskmanager.numberOfTaskSlots: '4'
    table.exec.source.idle-timeout: '30 s'
  serviceAccount: flink
  podTemplate:
    apiVersion: v1
    kind: Pod
    metadata:
      name: pod-template
    spec:
      containers:
        - name: flink-main-container
          volumeMounts:
            - name: flink-logs
              mountPath: /opt/flink/log
      volumes:
        - name: flink-logs
          emptyDir: {}
  jobManager:
    replicas: 1
    resource:
      memory: '2048m'
      cpu: 0.5
  taskManager:
    replicas: 1
    resource:
      memory: '2048m'
      cpu: 0.5
  mode: standalone
I am trying to add a custom
jobmanager.rpc.address: test-flink
to
flinkConfiguration
following https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/deployment/config/#jobmanager-rpc-address. Upon installing the CR, I do not see it getting reflected in
flink-config.yaml
but instead the value I see
<flink-quick-start.flink-test>
which I am assuming is
<deployment-name.namespace>
? Can someone explain why that might be the case? Also where is this address getting generated? Thanks!