Loading configure_dashboards.sh +3 −2 Original line number Diff line number Diff line Loading @@ -2,9 +2,10 @@ # Set the name of the Kubernetes namespace to deploy to. K8S_NAMESPACE="tf-dev" K8S_HOSTNAME="kubernetes-master" # gets the first node name in the list K8S_HOSTNAME=`kubectl get nodes | cut -f1 -d" " | sed -n '2 p'` export INFLUXDB_HOSTNAME=$(kubectl get node $K8S_HOSTNAME -o 'jsonpath={.status.addresses[?(@.type=="InternalIP")].address}') export INFLUXDB_HOSTNAME=$(kubectl get node $K8S_HOSTNAME --namespace $K8S_NAMESPACE -o 'jsonpath={.status.addresses[?(@.type=="InternalIP")].address}') export INFLUXDB_PORT=$(kubectl get service influx-tests --namespace $K8S_NAMESPACE -o 'jsonpath={.spec.ports[?(@.port==8086)].nodePort}') export INFLUXDB_USER=$(kubectl --namespace $K8S_NAMESPACE get secrets influxdb-secrets -o jsonpath='{.data.INFLUXDB_ADMIN_USER}' | base64 --decode) export INFLUXDB_PASSWORD=$(kubectl --namespace $K8S_NAMESPACE get secrets influxdb-secrets -o jsonpath='{.data.INFLUXDB_ADMIN_PASSWORD}' | base64 --decode) Loading src/webui/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ ENV VIRTUAL_ENV=/home/webui/venv RUN python3 -m venv ${VIRTUAL_ENV} ENV PATH="${VIRTUAL_ENV}/bin:${PATH}" COPY --chown=webui:webui webui/requirements.in /home/webui/teraflow/webui/requirements.in RUN pip install --upgrade "pip<22" setuptools wheel pip-tools && pip-compile --output-file=webui/requirements.txt webui/requirements.in RUN pip install --upgrade pip setuptools wheel pip-tools && pip-compile --output-file=webui/requirements.txt webui/requirements.in RUN pip install -r webui/requirements.txt # Add files into working directory Loading Loading
configure_dashboards.sh +3 −2 Original line number Diff line number Diff line Loading @@ -2,9 +2,10 @@ # Set the name of the Kubernetes namespace to deploy to. K8S_NAMESPACE="tf-dev" K8S_HOSTNAME="kubernetes-master" # gets the first node name in the list K8S_HOSTNAME=`kubectl get nodes | cut -f1 -d" " | sed -n '2 p'` export INFLUXDB_HOSTNAME=$(kubectl get node $K8S_HOSTNAME -o 'jsonpath={.status.addresses[?(@.type=="InternalIP")].address}') export INFLUXDB_HOSTNAME=$(kubectl get node $K8S_HOSTNAME --namespace $K8S_NAMESPACE -o 'jsonpath={.status.addresses[?(@.type=="InternalIP")].address}') export INFLUXDB_PORT=$(kubectl get service influx-tests --namespace $K8S_NAMESPACE -o 'jsonpath={.spec.ports[?(@.port==8086)].nodePort}') export INFLUXDB_USER=$(kubectl --namespace $K8S_NAMESPACE get secrets influxdb-secrets -o jsonpath='{.data.INFLUXDB_ADMIN_USER}' | base64 --decode) export INFLUXDB_PASSWORD=$(kubectl --namespace $K8S_NAMESPACE get secrets influxdb-secrets -o jsonpath='{.data.INFLUXDB_ADMIN_PASSWORD}' | base64 --decode) Loading
src/webui/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ ENV VIRTUAL_ENV=/home/webui/venv RUN python3 -m venv ${VIRTUAL_ENV} ENV PATH="${VIRTUAL_ENV}/bin:${PATH}" COPY --chown=webui:webui webui/requirements.in /home/webui/teraflow/webui/requirements.in RUN pip install --upgrade "pip<22" setuptools wheel pip-tools && pip-compile --output-file=webui/requirements.txt webui/requirements.in RUN pip install --upgrade pip setuptools wheel pip-tools && pip-compile --output-file=webui/requirements.txt webui/requirements.in RUN pip install -r webui/requirements.txt # Add files into working directory Loading