Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement →
Sign In

devcloudcli

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devcloudcli - pypi Package Compare versions

Comparing version
1.4.0
to
1.4.1
dc_cli/src/scripts...tools/iac-tools/cross-plane/__init__.py
+1
echo "Work in Progress"
#!/bin/bash
#Copyright (C) 2018-2021 Intel Corporation
#SPDX-License-Identifier: Apache-2.0
#Checking if the pulumi is present in the system
if [[ $(which pulumi) && $(pulumi version) ]]; then
echo -e "\e[1;36mPulumi is already present in the system\e[0m"
else
echo -e "\e[1;33mInstalling pulumi.....This will take few mins...\e[0m"
sudo apt update -y
curl -fsSL https://get.pulumi.com | sh
export PATH="$PATH:$PWD/.pulumi/bin"
#Checking if the pulumi is installed successfully
if [[ $(which pulumi) && $(pulumi version) ]]; then
pulumi_version=$(pulumi version)
echo -e "\e[1;32mSucessfully installed Pulumi : $pulumi_version \e[0m"
fi
fi
#!/bin/bash
#Copyright (C) 2018-2021 Intel Corporation
#SPDX-License-Identifier: Apache-2.0
#Checking if the pulumi is installed in the system
if ! [[ $(which pulumi) && $(pulumi version) ]]; then
echo -e "\e[1;36mPulumi is not installed in the system\e[0m"
else
#uninstalling Pulumi
echo -e "\e[1;33mUninstalling Pulumi....Please wait....\e[0m"
sudo rm -rf /home/intel/.pulumi/
if ! [[ $(which pulumi) && $(pulumi version) ]]; then
echo -e "\e[1;32mPulumi uninstalled successfully\e[0m"
fi
#!/bin/bash
#Copyright (C) 2018-2021 Intel Corporation
#SPDX-License-Identifier: Apache-2.0
#Checking if the terraform is present in the system
if [[ $(which terraform) && $(terraform --version) ]]; then
echo -e "\e[1;36mTerraform is already present in the system\e[0m"
else
echo -e "\e[1;33mInstalling terraform.....This will take few mins...\e[0m"
sudo apt update -y
wget https://releases.hashicorp.com/terraform/1.2.8/terraform_1.2.8_linux_amd64.zip
unzip terraform_1.2.8_linux_amd64.zip
sudo mv terraform /usr/local/bin
rm terraform_1.2.8_linux_amd64.zip
#Checking if the terraform is installed successfully
if [[ $(which terraform) && $(terraform --version) ]]; then
terraform_version=$(terraform --version)
echo -e "\e[1;32mSucessfully installed Terraform : $terraform_version \e[0m"
fi
fi
#!/bin/bash
#Copyright (C) 2018-2021 Intel Corporation
#SPDX-License-Identifier: Apache-2.0
#Checking if the terraform is installed in the system
if ! [[ $(which terraform) && $(terraform --version) ]]; then
echo -e "\e[1;36mTerraform is not installed in the system\e[0m"
else
#uninstalling Terraform
echo -e "\e[1;33mUninstalling Terraform....Please wait....\e[0m"
sudo apt remove terraform -y
sudo rm -rf /usr/bin/terraform
sudo rm -rf /usr/local/bin/terraform
if ! [[ $(which terraform) && $(terraform --version) ]]; then
echo -e "\e[1;32mTerraform uninstalled successfully\e[0m"
fi
fi
#!/bin/bash
# Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
if [[ $(which git) && $(git --version) ]]; then
echo -e "\e[1;36mgit installed in the system\e[0m"
else
echo -e "\e[1;36mInstalling git....\e[0m"
sudo apt-get install git -y
fi
echo -e "\e[1;32mInstalling predictive health analytics...........\e[0m"
if !(git clone https://github.com/oneapi-src/predictive-health-analytics.git); then
exit 1
echo -e "\e[1;31mgit is failing check with version or with the git link\e[0m"
else
echo -e "\e[1;32mInstalled successfully under 'predictive-health-analytics' folder\e[0m"
echo -e "\e[1;32m*************************************************************************\e[0m"
echo -e "\e[1;35mRefer below link for reference:\e[0m"
echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-kit/predict-utility-asset-health.html\e[0m"
fi
#!/bin/bash
# Copyright (C) 2018-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
sudo rm -rf predictive-health-analytics
echo -e "\e[1;32mPredictive health analytics uninstalled successfully\e[0m"
# Copyright 2021 Intel Corporation
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written permission.
# This software and the related documents are provided as is, with no express or
# implied warranties, other than those that are expressly stated in the License
FROM grafana/grafana:7.5.8-ubuntu
USER root
ARG DEBIAN_FRONTEND=noninteractive
ARG GF_INSTALL_IMAGE_RENDERER_PLUGIN="true"
ARG GF_REPORTER="true"
ARG GF_VARIABLES="true"
ENV GF_PATHS_PLUGINS="/var/lib/grafana/plugins"
RUN mkdir -p "$GF_PATHS_PLUGINS" \
&& chown -R grafana:${GF_GID} "$GF_PATHS_PLUGINS"
#ENV HTTPS_PROXY=http://proxy-dmz.intel.com:911
#ENV HTTP_PROXY=http://proxy-dmz.intel.com:911
#ENV https_proxy=http://proxy-dmz.intel.com:911
#ENV http_proxy=http://proxy-dmz.intel.com:911
#ENV NO_PROXY=localhost,.intel.com
#ENV no_proxy=localhost,.intel.com
RUN if [ $GF_VARIABLES = "true" ]; then \
apt-get update -y \
&& apt-get install -y --no-install-recommends apt-utils \
&& apt-get install -y curl gettext-base && apt-get install -y git && apt-get install -y texlive-latex-base \
&& apt-get install -y wget ;\
fi
RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \
apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y gdebi-core \
&& cd /tmp \
&& curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& gdebi --n google-chrome-stable_current_amd64.deb \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*; \
fi
ENV GF_PLUGIN_RENDERING_CHROME_BIN="/usr/bin/google-chrome"
RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \
grafana-cli \
--pluginsDir "$GF_PATHS_PLUGINS" \
--pluginUrl https://github.com/grafana/grafana-image-renderer/releases/download/v3.5.0/plugin-linux-x64-glibc-no-chromium.zip \
plugins install grafana-image-renderer; \
fi
WORKDIR /tmp
RUN if [ $GF_REPORTER = "true" ]; then \
cd /tmp \
&& wget https://dl.google.com/go/go1.10.2.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go1.10.2.linux-amd64.tar.gz; \
fi
ENV GOROOT=/usr/local/go
ENV GOPATH=/root/go
ENV PATH=$GOROOT/bin:$PATH
RUN go get github.com/IzakMarais/reporter/...
RUN go install github.com/IzakMarais/reporter/cmd/grafana-reporter
RUN grafana-cli --pluginsDir "/var/lib/grafana/plugins" plugins install ryantxu-ajax-panel
#WORKDIR /opt
#COPY entrypoint.sh ./
#RUN chmod 777 entrypoint.sh
#USER grafana
#ENTRYPOINT ["./entrypoint.sh"]
# Copyright 2021 Intel Corporation
# This software and the related documents are Intel copyrighted materials,
# and your use of them is governed by the express license under which they
# were provided to you ("License"). Unless the License provides otherwise,
# you may not use, modify, copy, publish, distribute, disclose or transmit
# this software or the related documents without Intel's prior written permission.
# This software and the related documents are provided as is, with no express or
# implied warranties, other than those that are expressly stated in the License
FROM grafana/grafana:7.5.8-ubuntu
USER root
ARG DEBIAN_FRONTEND=noninteractive
ARG GF_INSTALL_IMAGE_RENDERER_PLUGIN="true"
ARG GF_REPORTER="true"
ARG GF_VARIABLES="true"
ENV GF_PATHS_PLUGINS="/var/lib/grafana/plugins"
RUN mkdir -p "$GF_PATHS_PLUGINS" \
&& chown -R grafana:${GF_GID} "$GF_PATHS_PLUGINS"
ENV HTTPS_PROXY=http://proxy-dmz.intel.com:911
ENV HTTP_PROXY=http://proxy-dmz.intel.com:911
ENV https_proxy=http://proxy-dmz.intel.com:911
ENV http_proxy=http://proxy-dmz.intel.com:911
ENV NO_PROXY=localhost,.intel.com
ENV no_proxy=localhost,.intel.com
RUN if [ $GF_VARIABLES = "true" ]; then \
apt-get update -y \
&& apt-get install -y --no-install-recommends apt-utils \
&& apt-get install -y curl gettext-base && apt-get install -y git && apt-get install -y texlive-latex-base \
&& apt-get install -y wget ;\
fi
RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \
apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y gdebi-core \
&& cd /tmp \
&& curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& gdebi --n google-chrome-stable_current_amd64.deb \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*; \
fi
ENV GF_PLUGIN_RENDERING_CHROME_BIN="/usr/bin/google-chrome"
RUN if [ $GF_INSTALL_IMAGE_RENDERER_PLUGIN = "true" ]; then \
grafana-cli \
--pluginsDir "$GF_PATHS_PLUGINS" \
--pluginUrl https://github.com/grafana/grafana-image-renderer/releases/download/v3.5.0/plugin-linux-x64-glibc-no-chromium.zip \
plugins install grafana-image-renderer; \
fi
WORKDIR /tmp
RUN if [ $GF_REPORTER = "true" ]; then \
cd /tmp \
&& wget https://dl.google.com/go/go1.10.2.linux-amd64.tar.gz \
&& tar -C /usr/local -xzf go1.10.2.linux-amd64.tar.gz; \
fi
ENV GOROOT=/usr/local/go
ENV GOPATH=/root/go
ENV PATH=$GOROOT/bin:$PATH
RUN go get github.com/IzakMarais/reporter/...
RUN go install github.com/IzakMarais/reporter/cmd/grafana-reporter
RUN grafana-cli --pluginsDir "/var/lib/grafana/plugins" plugins install ryantxu-ajax-panel
#WORKDIR /opt
#COPY entrypoint.sh ./
#RUN chmod 777 entrypoint.sh
#USER grafana
#ENTRYPOINT ["./entrypoint.sh"]
+1
-1
Metadata-Version: 2.1
Name: devcloudcli
Version: 1.4.0
Version: 1.4.1
Summary: AN Interactive CLI for Intel DevCloud Bench

@@ -5,0 +5,0 @@ Home-page: UNKNOWN

@@ -103,2 +103,13 @@ LICENSE.txt

dc_cli/src/scripts/cloud-native-tools/iac-tools/__init__.py
dc_cli/src/scripts/cloud-native-tools/iac-tools/install.sh
dc_cli/src/scripts/cloud-native-tools/iac-tools/uninstall.sh
dc_cli/src/scripts/cloud-native-tools/iac-tools/cross-plane/__init__.py
dc_cli/src/scripts/cloud-native-tools/iac-tools/cross-plane/install.sh
dc_cli/src/scripts/cloud-native-tools/iac-tools/cross-plane/uninstall.sh
dc_cli/src/scripts/cloud-native-tools/iac-tools/pulumi/__init__.py
dc_cli/src/scripts/cloud-native-tools/iac-tools/pulumi/install.sh
dc_cli/src/scripts/cloud-native-tools/iac-tools/pulumi/uninstall.sh
dc_cli/src/scripts/cloud-native-tools/iac-tools/terraform/__init__.py
dc_cli/src/scripts/cloud-native-tools/iac-tools/terraform/install.sh
dc_cli/src/scripts/cloud-native-tools/iac-tools/terraform/uninstall.sh
dc_cli/src/scripts/cloud-native-tools/observability-tools/__init__.py

@@ -241,2 +252,4 @@ dc_cli/src/scripts/cloud-native-tools/observability-tools/install.sh

dc_cli/src/scripts/dl-model-training-services/ai-reference-kits/predictive-health-analytics/__init__.py
dc_cli/src/scripts/dl-model-training-services/ai-reference-kits/predictive-health-analytics/install.sh
dc_cli/src/scripts/dl-model-training-services/ai-reference-kits/predictive-health-analytics/uninstall.sh
dc_cli/src/scripts/dl-model-training-services/ai-reference-kits/visual-quality-inspection/__init__.py

@@ -606,2 +619,3 @@ dc_cli/src/scripts/dl-model-training-services/ai-reference-kits/visual-quality-inspection/install.sh

dc_cli/src/scripts/one-edge-building-blocks/observability-services/__init__.py
dc_cli/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/Dockerfile
dc_cli/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/__init__.py

@@ -656,2 +670,3 @@ dc_cli/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/docker-compose-app-service.yaml

dc_cli/src/scripts/one-edge-building-blocks/observability-services/log-analytics/configs/promtail/promtail-config.yaml
dc_cli/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/Dockerfile
dc_cli/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/__init__.py

@@ -658,0 +673,0 @@ dc_cli/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/docker-compose-app-service.yaml

@@ -55,3 +55,2 @@ # Copyright (C) 2018-2021 Intel Corporation

"container-runtimes":['docker', 'docker-compose','containerd','cri-o'],
"automation-and-configuration-tools":['ansible','chef','puppet'],
"dl-model-tools":['dl-model-benchmark', 'nncf', 'omz-tools', 'openvino-dl-workbench','openvino-model-server',

@@ -85,3 +84,4 @@ 'post-training-optimization-toolkit'],

"observability-services":['system-telemetry','cluster-telemetry','docker-telemetry','log-analytics'],
"automation-tools":['ansible','chef','puppet']
"automation-tools":['ansible','chef','puppet'],
"iac-tools":['terraform','pulumi','cross-plane']

@@ -88,0 +88,0 @@ }

@@ -57,3 +57,3 @@ # Copyright 2021 Intel Corporation

--pluginsDir "$GF_PATHS_PLUGINS" \
--pluginUrl https://github.com/grafana/grafana-image-renderer/releases/latest/download/plugin-linux-x64-glibc-no-chromium.zip \
--pluginUrl https://github.com/grafana/grafana-image-renderer/releases/download/v3.5.0/plugin-linux-x64-glibc-no-chromium.zip \
plugins install grafana-image-renderer; \

@@ -60,0 +60,0 @@ fi

@@ -94,1 +94,2 @@ # Copyright 2021 Intel Corporation

@@ -27,8 +27,8 @@ # Copyright 2021 Intel Corporation

#ENV HTTPS_PROXY=http://proxy-dmz.intel.com:911
#ENV HTTP_PROXY=http://proxy-dmz.intel.com:911
#ENV https_proxy=http://proxy-dmz.intel.com:911
#ENV http_proxy=http://proxy-dmz.intel.com:911
#ENV NO_PROXY=localhost,.intel.com
#ENV no_proxy=localhost,.intel.com
ENV HTTPS_PROXY=http://proxy-dmz.intel.com:911
ENV HTTP_PROXY=http://proxy-dmz.intel.com:911
ENV https_proxy=http://proxy-dmz.intel.com:911
ENV http_proxy=http://proxy-dmz.intel.com:911
ENV NO_PROXY=localhost,.intel.com
ENV no_proxy=localhost,.intel.com

@@ -58,3 +58,3 @@ RUN if [ $GF_VARIABLES = "true" ]; then \

--pluginsDir "$GF_PATHS_PLUGINS" \
--pluginUrl https://github.com/grafana/grafana-image-renderer/releases/latest/download/plugin-linux-x64-glibc-no-chromium.zip \
--pluginUrl https://github.com/grafana/grafana-image-renderer/releases/download/v3.5.0/plugin-linux-x64-glibc-no-chromium.zip \
plugins install grafana-image-renderer; \

@@ -86,1 +86,2 @@ fi

#ENTRYPOINT ["./entrypoint.sh"]

@@ -1,1 +0,42 @@

echo "Work in Progress"
#!/bin/bash
#Copyright (C) 2018-2021 Intel Corporation
#SPDX-License-Identifier: Apache-2.0
#Checking if the puppet is present in the system
if [[ $(which puppet) && $(puppet --version) ]]; then
echo -e "\e[1;36mpuppet is already present in the system\e[0m"
else
echo -e "\e[1;33mInstalling puppet.....This will take few mins...\e[0m"
echo -e "\e[1;32mBefore starting installation update /etc/hosts file with puppetmaster ip and puppet client ip's..\e[0m"
sudo apt-get update -y
sudo curl -O https://apt.puppetlabs.com/puppet7-release-bionic.deb
sudo dpkg -i puppet7-release-bionic.deb
sudo apt-get update -y
sudo apt-get install puppetserver -y
sudo systemctl enable puppetserver.service
sudo systemctl start puppetserver.service
sudo apt policy puppetserver
sudo cp /opt/puppetlabs/bin/puppet /usr/bin/ -v
sudo cp /opt/puppetlabs/puppet/bin/gem /usr/bin/ -v
#Checking if the puppet is installed successfully
if [[ $(which puppet) && $(puppet --version) ]]; then
puppet_version=$(puppet --version)
echo -e "\e[1;32mSuceessfully installed Puppet : $puppet_version \e[0m"
echo -e "\e[1;33mAfter puppetserver installed successfully then run these commands on puppetclient servers\e[0m"
echo -e "\e[1;36msudo curl -O https://apt.puppetlabs.com/puppet7-release-bionic.deb\e[0m"
echo -e "\e[1;32msudo dpkg -i puppet7-release-bionic.deb\e[0m"
echo -e "\e[1;33msudo apt-get update -y\e[0m"
echo -e "\e[1;36msudo apt-get install puppet-agent -y\e[0m"
echo -e "\e[1;32mAdd the following lines to the end of the Puppet configuration file to define the Puppet master information--->"sudo nano /etc/puppetlabs/puppet/puppet.conf"\e[0m"
echo "[main]
certname = puppetclient
server = puppetmaster"
echo -e "\e[1;36msudo systemctl start puppet\e[0m"
echo -e "\e[1;33msudo systemctl enable puppet\e[0m"
echo -e "\e[1;32msudo /opt/puppetlabs/bin/puppetserver ca list --all\e[0m"
echo -e "\e[1;36msudo /opt/puppetlabs/bin/puppetserver ca sign --all\e[0m"
echo -e "\e[1;33msudo /opt/puppetlabs/bin/puppet agent --test\e[0m"
fi
fi

@@ -1,1 +0,20 @@

echo "Work in Progress"
#!/bin/bash
#Copyright (C) 2018-2021 Intel Corporation
#SPDX-License-Identifier: Apache-2.0
#Checking if the puppet is installed in the system
if ! [[ $(which puppet) && $(puppet --version) ]]; then
echo -e "\e[1;36mpuppet is not installed in the system\e[0m"
else
#uninstalling puppet
echo -e "\e[1;33mUninstalling puppet....Please wait....\e[0m"
sudo apt-get remove puppetserver -y
sudo apt-get remove --auto-remove puppetserver -y
sudo apt-get purge puppetserver -y
sudo apt-get purge --auto-remove puppetserver -y
sudo rm -rf /usr/bin/puppet
sudo rm -rf puppet7-release-bionic.deb
if ! [[ $(which puppet) && $(puppet --version) ]]; then
echo -e "\e[1;32mpuppet uninstalled successfully\e[0m"
fi
fi

@@ -42,3 +42,3 @@ #!/bin/bash

echo -e "\e[1;34mBrain-Tumor-Segmentation folder is downloaded in \home\intel\<<username>>\e[0m\n"
echo -e "\e[1;34mBrain-Tumor-Segmentation folder is downloaded successfully in Workload folder\e[0m\n"

@@ -45,0 +45,0 @@ #Check RI is installed sucessfully

@@ -42,3 +42,3 @@ #!/bin/bash

echo -e "\e[1;34mMONAI folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mMONAI folder is downloaded successfully in Workload folder\e[0m\n"

@@ -45,0 +45,0 @@ #Check RI is installed sucessfully

@@ -39,3 +39,3 @@ #!/bin/bash

echo -e "\e[1;34mOPENFL folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mOPENFL folder is downloaded successfully in Workload folder\e[0m\n"

@@ -42,0 +42,0 @@ #Check RI is installed sucessfully

@@ -44,3 +44,3 @@ #!/bin/bash

echo -e "\e[1;34mEdge Insights for AMR folder is downloaded in \home\intel\<username>\e[0m\n"
#echo -e "\e[1;34mEdge Insights for AMR folder is downloaded in \home\intel\<username>\e[0m\n"

@@ -47,0 +47,0 @@ #Check RI is installed sucessfully

@@ -44,3 +44,3 @@ #!/bin/bash

echo -e "\e[1;34mIndustrial_Surface_Defect_Detection folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mIndustrial_Surface_Defect_Detection folder is downloaded successfully in Workload folder\e[0m\n"

@@ -47,0 +47,0 @@ #Check RI is installed sucessfully

@@ -44,3 +44,3 @@ #!/bin/bash

echo -e "\e[1;34mIndustrial-Textline-Recognition folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mIndustrial-Textline-Recognition folder is downloaded successfully in Workload folder\e[0m\n"

@@ -47,0 +47,0 @@ #Check RI is installed sucessfully

@@ -35,3 +35,3 @@ #!/bin/bash

expect EOF'
echo -e "\e[1;34mRotor_Bearing_Defect_Detector_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mRotor_Bearing_Defect_Detector_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -38,0 +38,0 @@ #Check RI is installed sucessfully

@@ -43,3 +43,3 @@ #!/bin/bash

echo -e "\e[1;34mTextile-Defect-Classifier_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mTextile-Defect-Classifier_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -46,0 +46,0 @@ #Check RI is installed sucessfully

@@ -43,3 +43,3 @@ #!/bin/bash

echo -e "\e[1;34mWeld_Porosity_Detection__<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mWeld_Porosity_Detection__<version> folder is downloaded in workload folder\e[0m\n"

@@ -46,0 +46,0 @@ #Check RI is installed sucessfully

@@ -28,4 +28,3 @@ #!/bin/bash

echo "---------------------------------------------------------------------------------------------------------------------------\n"
echo -e "\e[1;34mAutomated_Checkout_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mAutomated_Checkout_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -37,4 +36,3 @@ #Check RI is installed sucessfully

echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/automated-checkout.html\e[0m\n"
echo "---------------------------------------------------------------------------------------------------------------------------\n"

@@ -27,4 +27,3 @@ #!/bin/bash

echo "-------------------------------------------------------------------------------------------------------------------------------------\n"
echo -e "\e[1;34mInteractive-Kiosk-AI-Chatbot<version> folder is downloaded in \home\intel\<<user>>\e[0m\n"
echo -e "\e[1;34mInteractive-Kiosk-AI-Chatbot<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -36,2 +35,1 @@ #Checking RI is installed sucessfully

echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/interactive-kiosk-ai-chatbot.html\e[0m\n"
echo "-------------------------------------------------------------------------------------------------------------------------------------\n"

@@ -28,4 +28,3 @@ #!/bin/bash

echo "---------------------------------------------------------------------------------------------------------------------------------------------------\n"
echo -e "\e[1;34mReal_Time_Sensor_Fusion_for_Loss_Detection_<version> folder is downloaded in \home\intel\<<username>>\e[0m\n"
echo -e "\e[1;34mReal_Time_Sensor_Fusion_for_Loss_Detection_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -37,2 +36,1 @@ #Check RI is installed sucessfully

echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/real-time-sensor-fusion-for-loss-detection.html\e[0m\n"
echo "---------------------------------------------------------------------------------------------------------------------------------------------------\n"

@@ -28,4 +28,3 @@ #!/bin/bash

echo "-----------------------------------------------------------------------------------------------------------------------------------------------\n"
echo -e "\e[1;34mSocial_Distancing_for_Retail_Settings_<version> folder is downloaded in \home\intel\<<username>>\e[0m\n"
echo -e "\e[1;34mSocial_Distancing_for_Retail_Settings_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -37,2 +36,1 @@ #Check RI is installed sucessfully

echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/social-distancing-for-retail-settings.html\e[0m\n"
echo "----------------------------------------------------------------------------------------------------------------------------------------------\n"

@@ -45,4 +45,3 @@ #!/bin/bash

echo "-----------------------------------------------------------------------------------------------------------------------------------------\n"
echo -e "\e[1;34mEdge AI Box for Video Analytics folder is downloaded in \home\intel\<<username>>\e[0m\n"
echo -e "\e[1;34mEdge AI Box for Video Analytics folder is downloaded successfully in Workload folder\e[0m\n"

@@ -54,3 +53,2 @@ #Check RI is installed sucessfully

echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/edge-ai-box-for-video-analytics.html\e[0m\n"
echo "-----------------------------------------------------------------------------------------------------------------------------------------\n"

@@ -44,4 +44,3 @@ #!/bin/bash

echo "---------------------------------------------------------------------------------------------------------------\n"
echo -e "\e[1;34mEdge Insights for Vision folder is downloaded in \home\intel\<<username>>\e[0m\n"
echo -e "\e[1;34mEdge Insights for Vision folder is downloaded successfully in Workload folder\e[0m\n"

@@ -54,2 +53,1 @@ #Check RI is installed sucessfully

echo "---------------------------------------------------------------------------------------------------------------\n"

@@ -43,4 +43,3 @@ #!/bin/bash

echo "------------------------------------------------------------------------------------------------------------------------------------\n"
echo -e "\e[1;34mSmart_Video_and_AI_workload_Reference_Implementation folder is downloaded in \home\intel\<<username>>\e[0m\n"
echo -e "\e[1;34mSmart_Video_and_AI_workload_Reference_Implementation folder is downloaded successfully in Workload folder\e[0m\n"

@@ -52,2 +51,1 @@ #Check RI is installed sucessfully

echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/smart-video-and-ai-workload.html\e[0m\n"
echo "-------------------------------------------------------------------------------------------------------------------------------------\n"

@@ -28,4 +28,3 @@ #!/bin/bash

echo "------------------------------------------------------------------------------------------------------------------------------------------------\n"
echo -e "\e[1;34mSocial_Distancing_for_Retail_Settings_<version> folder is downloaded in \home\intel\<<username>>\e[0m\n"
echo -e "\e[1;34mSocial_Distancing_for_Retail_Settings_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -38,3 +37,2 @@ #Check RI is installed sucessfully

echo "-------------------------------------------------------------------------------------------------------------------------------------------------\n"

@@ -28,10 +28,8 @@ #!/bin/bash

echo -e "\e[1;34mAddress_Recognition_And_Analytics_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mAddress_Recognition_And_Analytics_<version> folder is downloaded in successfully in Workload folder\e[0m\n"
#Check RI is installed sucessfully
echo -e "\e[1;31m-----------------------------------------------------------------------------------------------------------------------------------------------\e[0m\n"
echo -e "\e[1;32m\nIf address-recognition-and-analytics RI installed successfully...\e[0m"
echo -e "\e[1;36mFor further development refer below URL\e[0m"
echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/address-recognition-and-analytics.html\e[0m\n"
echo -e "\e[1;31m-----------------------------------------------------------------------------------------------------------------------------------------------\e[0m\n"

@@ -28,10 +28,8 @@ #!/bin/bash

echo -e "\e[1;34mAutomated_License_Plate_Recognition_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mAutomated_License_Plate_Recognition_<version> folder is downloaded successfully in Workload folder\e[0m\n"
#Check RI is installed sucessfully
echo -e "\e[1;31m-----------------------------------------------------------------------------------------------------------------------------------------------\e[0m\n"
echo -e "\e[1;32m\nIf automatic-licence-plate-recognition RI installed successfully...\e[0m"
echo -e "\e[1;36mFor further development refer below URL\e[0m"
echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/automated-license-plate-recognition.html\e[0m\n"
echo -e "\e[1;31m-----------------------------------------------------------------------------------------------------------------------------------------------\e[0m\n"

@@ -26,5 +26,6 @@ #!/bin/bash

pip3 install --upgrade pip --user && pip3 install edgesoftware --user
echo 548eba24-4079-47cb-8d89-db324668e301 | $HOME/.local/bin/edgesoftware install cargo-management 61bc6972d8ecccee555fb963
echo -e "\e[1;34mCargo_Management__<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mCargo_Management__<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -34,6 +35,4 @@ #Check RI is installed sucessfully

echo -e "\e[1;31m-----------------------------------------------------------------------------------------------------------------------------------------------\e[0m\n"
echo -e "\e[1;32m\nCargo-Management RI installed successfully...\e[0m"
echo -e "\e[1;36mFor further development refer below URL\e[0m"
echo -e "\e[1;33mhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/cargo-management.html\e[0m\n"
echo -e "\e[1;31m-----------------------------------------------------------------------------------------------------------------------------------------------\e[0m\n"

@@ -27,3 +27,3 @@ #!/bin/bash

echo -e "\e[1;34mDriver_Behavior_Analytics_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mDriver_Behavior_Analytics_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -30,0 +30,0 @@ #Check RI is installed sucessfully

@@ -27,3 +27,3 @@ #!/bin/bash

echo -e "\e[1;34mEdge-Insights-For-Fleet_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mEdge-Insights-For-Fleet_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -30,0 +30,0 @@ #Check RI is installed sucessfully

@@ -42,3 +42,3 @@ #!/bin/bash

echo -e "\e[1;34mIntelligent_Traffic_Management_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mIntelligent_Traffic_Management_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -45,0 +45,0 @@ #Check RI is installed sucessfully

@@ -27,3 +27,3 @@ #!/bin/bash

echo -e "\e[1;34mPublic_Transit_Analytics_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mPublic_Transit_Analytics_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -30,0 +30,0 @@ #Check RI is installed sucessfully

@@ -28,3 +28,3 @@ #!/bin/bash

echo -e "\e[1;34mVehicle_Event_Recording_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mVehicle_Event_Recording_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -31,0 +31,0 @@ #Check RI is installed sucessfully

@@ -29,3 +29,3 @@ #!/bin/bash

echo -e "\e[1;34mWork_Zone_Analytics_<version> folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mWork_Zone_Analytics_<version> folder is downloaded successfully in Workload folder\e[0m\n"

@@ -32,0 +32,0 @@ #Check RI is installed sucessfully

@@ -21,13 +21,13 @@ #!/bin/bash

echo "Installing Proxy settings for Openvino"
#echo "Installing Proxy settings for Openvino"
sudo chmod 777 /etc/environment
sudo echo "http_proxy=http://proxy-dmz.intel.com:911
https_proxy=http://proxy-dmz.intel.com:911
HTTP_PROXY=http://proxy-dmz.intel.com:911
HTTPS_PROXY=http://proxy-dmz.intel.com:911
ftp_proxy=http://proxy-dmz.com:911
NO_PROXY=localhost,127.0.0.1
no_proxy=localhost,127.0.0.1" > /etc/environment
source /etc/environment
#sudo chmod 777 /etc/environment
#sudo echo "http_proxy=http://proxy-dmz.intel.com:911
#https_proxy=http://proxy-dmz.intel.com:911
#HTTP_PROXY=http://proxy-dmz.intel.com:911
#HTTPS_PROXY=http://proxy-dmz.intel.com:911
#ftp_proxy=http://proxy-dmz.com:911
#NO_PROXY=localhost,127.0.0.1
#no_proxy=localhost,127.0.0.1" > /etc/environment
#source /etc/environment
export no_proxy="localhost,127.0.0.1"

@@ -34,0 +34,0 @@

@@ -21,13 +21,13 @@ #!/bin/bash

echo "Installing Proxy settings for Openvino"
#echo "Installing Proxy settings for Openvino"
sudo chmod 777 /etc/environment
sudo echo "http_proxy=http://proxy-dmz.intel.com:911
https_proxy=http://proxy-dmz.intel.com:911
HTTP_PROXY=http://proxy-dmz.intel.com:911
HTTPS_PROXY=http://proxy-dmz.intel.com:911
ftp_proxy=http://proxy-dmz.com:911
NO_PROXY=localhost,127.0.0.1
no_proxy=localhost,127.0.0.1" > /etc/environment
source /etc/environment
#sudo chmod 777 /etc/environment
#sudo echo "http_proxy=http://proxy-dmz.intel.com:911
#https_proxy=http://proxy-dmz.intel.com:911
#HTTP_PROXY=http://proxy-dmz.intel.com:911
#HTTPS_PROXY=http://proxy-dmz.intel.com:911
#ftp_proxy=http://proxy-dmz.com:911
#NO_PROXY=localhost,127.0.0.1
#no_proxy=localhost,127.0.0.1" > /etc/environment
#source /etc/environment
export no_proxy="localhost,127.0.0.1"

@@ -43,3 +43,3 @@

echo -e "\e[1;34mconnect-devices-to-azure-iot folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mconnect-devices-to-azure-iot folder is downloaded successfully\e[0m\n"

@@ -46,0 +46,0 @@ #Check RI is installed sucessfully

@@ -21,13 +21,13 @@ #!/bin/bash

echo "Installing Proxy settings for Openvino"
#echo "Installing Proxy settings for Openvino"
sudo chmod 777 /etc/environment
sudo echo "http_proxy=http://proxy-dmz.intel.com:911
https_proxy=http://proxy-dmz.intel.com:911
HTTP_PROXY=http://proxy-dmz.intel.com:911
HTTPS_PROXY=http://proxy-dmz.intel.com:911
ftp_proxy=http://proxy-dmz.com:911
NO_PROXY=localhost,127.0.0.1
no_proxy=localhost,127.0.0.1" > /etc/environment
source /etc/environment
#sudo chmod 777 /etc/environment
#sudo echo "http_proxy=http://proxy-dmz.intel.com:911
#https_proxy=http://proxy-dmz.intel.com:911
#HTTP_PROXY=http://proxy-dmz.intel.com:911
#HTTPS_PROXY=http://proxy-dmz.intel.com:911
#ftp_proxy=http://proxy-dmz.com:911
#NO_PROXY=localhost,127.0.0.1
#no_proxy=localhost,127.0.0.1" > /etc/environment
#source /etc/environment
export no_proxy="localhost,127.0.0.1"

@@ -43,3 +43,3 @@

echo -e "\e[1;34medge_to_cloud_bridge_for_microsoft_azure_service folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34medge_to_cloud_bridge_for_microsoft_azure_service folder is downloaded successfully\e[0m\n"

@@ -46,0 +46,0 @@ #Check RI is installed sucessfully

@@ -21,13 +21,13 @@ #!/bin/bash

echo "Installing Proxy settings for Openvino"
#echo "Installing Proxy settings for Openvino"
sudo chmod 777 /etc/environment
sudo echo "http_proxy=http://proxy-dmz.intel.com:911
https_proxy=http://proxy-dmz.intel.com:911
HTTP_PROXY=http://proxy-dmz.intel.com:911
HTTPS_PROXY=http://proxy-dmz.intel.com:911
ftp_proxy=http://proxy-dmz.com:911
NO_PROXY=localhost,127.0.0.1
no_proxy=localhost,127.0.0.1" > /etc/environment
source /etc/environment
#sudo chmod 777 /etc/environment
#sudo echo "http_proxy=http://proxy-dmz.intel.com:911
#https_proxy=http://proxy-dmz.intel.com:911
#HTTP_PROXY=http://proxy-dmz.intel.com:911
#HTTPS_PROXY=http://proxy-dmz.intel.com:911
#ftp_proxy=http://proxy-dmz.com:911
#NO_PROXY=localhost,127.0.0.1
#no_proxy=localhost,127.0.0.1" > /etc/environment
#source /etc/environment
export no_proxy="localhost,127.0.0.1"

@@ -43,3 +43,3 @@

echo -e "\e[1;34mconnect-devices-to-azure-iot folder is downloaded in \home\intel\<username>\e[0m\n"
echo -e "\e[1;34mconnect-devices-to-azure-iot folder is downloaded successfully\e[0m\n"

@@ -46,0 +46,0 @@ #Check RI is installed sucessfully

@@ -11,2 +11,8 @@ {

"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"

@@ -18,11 +24,12 @@ }

"editable": true,
"gnetId": 12740,
"fiscalYearStartMonth": 0,
"gnetId": 315,
"graphTooltip": 0,
"id": 12,
"iteration": 1642655400481,
"id": 7,
"iteration": 1660743667579,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": null,
"gridPos": {

@@ -34,2 +41,419 @@ "h": 1,

},
"id": 52,
"panels": [],
"title": "Node",
"type": "row"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 9,
"x": 0,
"y": 1
},
"id": 46,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_node_info{node=~\"$node\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number Of Nodes",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 8,
"x": 9,
"y": 1
},
"id": 48,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_node_spec_unschedulable{node=~\"$node\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Nodes Unavailable",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"index": 0,
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 7,
"x": 17,
"y": 1
},
"id": 54,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_node_status_condition{condition=\"OutOfDisk\", node=~\"$node\", status=\"true\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Nodes Out of Disk",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 4
},
"id": 76,
"options": {
"legend": {
"calcs": [
"min",
"max",
"mean"
],
"displayMode": "table",
"placement": "right"
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_pod_container_status_running{namespace=~\"$namespace\"})",
"interval": "",
"legendFormat": "Running Pods",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_service_info{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Services",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_ingress_info{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Ingresses",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_deployment_labels{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Deployments",
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_statefulset_labels{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Statefulsets",
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_daemonset_labels{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Daemonsets",
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_persistentvolumeclaim_info{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Persistent Volume Claims",
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_hpa_labels{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Horizontal Pod Autoscalers",
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_configmap_info{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Configmaps",
"refId": "I"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_secret_info{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Secrets",
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_networkpolicy_labels{namespace=~\"$namespace\"})",
"hide": false,
"interval": "",
"legendFormat": "Network Policies",
"refId": "K"
}
],
"title": "Kubernetes Resource Count",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 12
},
"id": 33,

@@ -45,13 +469,5 @@ "panels": [],

"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,

@@ -64,3 +480,3 @@ "fillGradient": 0,

"x": 0,
"y": 1
"y": 13
},

@@ -93,3 +509,3 @@ "height": "200px",

"percentage": false,
"pluginVersion": "7.3.4",
"pluginVersion": "8.4.2",
"pointradius": 5,

@@ -104,2 +520,7 @@ "points": false,

{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum (rate (container_network_receive_bytes_total{kubernetes_io_hostname=~\"^$Node$\"}[1m]))",

@@ -114,2 +535,6 @@ "interval": "10s",

{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"expr": "- sum (rate (container_network_transmit_bytes_total{kubernetes_io_hostname=~\"^$Node$\"}[1m]))",

@@ -125,5 +550,3 @@ "interval": "10s",

"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network I/O pressure",

@@ -138,5 +561,3 @@ "tooltip": {

"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,

@@ -148,6 +569,3 @@ "values": []

"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true

@@ -157,6 +575,3 @@ },

"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false

@@ -166,4 +581,3 @@ }

"yaxis": {
"align": false,
"alignLevel": null
"align": false
}

@@ -173,3 +587,2 @@ },

"collapsed": false,
"datasource": null,
"gridPos": {

@@ -179,3 +592,3 @@ "h": 1,

"x": 0,
"y": 7
"y": 19
},

@@ -188,70 +601,67 @@ "id": 34,

{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"editable": true,
"error": false,
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"fieldConfig": {
"defaults": {
"custom": {}
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 65
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 8,
"w": 12,
"x": 0,
"y": 8
"y": 20
},
"height": "180px",
"id": 4,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"tableColumn": "",
"pluginVersion": "8.4.2",
"targets": [

@@ -266,85 +676,72 @@ {

],
"thresholds": "65, 90",
"title": "Cluster memory usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
"type": "gauge"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"fieldConfig": {
"defaults": {
"custom": {}
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "rgba(50, 172, 45, 0.97)",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 65
},
{
"color": "rgba(245, 54, 54, 0.9)",
"value": 90
}
]
},
"unit": "percent"
},
"overrides": []
},
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 8
"w": 12,
"x": 12,
"y": 20
},
"height": "180px",
"id": 6,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
"maxDataPoints": 100,
"options": {
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"tableColumn": "",
"pluginVersion": "8.4.2",
"targets": [

@@ -359,179 +756,68 @@ {

],
"thresholds": "65, 90",
"title": "Cluster CPU usage (1m avg)",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
"title": "Cluster CPU usage",
"type": "gauge"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 8
},
"height": "180px",
"id": 7,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum (container_fs_usage_bytes{device=~\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) / sum (container_fs_limit_bytes{device=~\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) * 100",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 10
}
],
"thresholds": "65, 90",
"title": "Cluster filesystem usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 4,
"w": 6,
"x": 0,
"y": 13
"y": 25
},
"height": "1px",
"id": 9,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "20%",
"prefix": "",
"prefixFontSize": "20%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"textMode": "auto"
},
"tableColumn": "",
"pluginVersion": "8.4.2",
"targets": [

@@ -546,85 +832,68 @@ {

],
"thresholds": "",
"title": "Used",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
"type": "stat"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"fieldConfig": {
"defaults": {
"custom": {}
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 4,
"x": 4,
"y": 13
"w": 6,
"x": 6,
"y": 25
},
"height": "1px",
"id": 10,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"textMode": "auto"
},
"tableColumn": "",
"pluginVersion": "8.4.2",
"targets": [

@@ -639,85 +908,68 @@ {

],
"thresholds": "",
"title": "Total",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
"type": "stat"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"fieldConfig": {
"defaults": {
"custom": {}
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 13
"w": 6,
"x": 12,
"y": 25
},
"height": "1px",
"id": 11,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": " cores",
"postfixFontSize": "30%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"textMode": "auto"
},
"tableColumn": "",
"pluginVersion": "8.4.2",
"targets": [

@@ -732,85 +984,68 @@ {

],
"thresholds": "",
"title": "Used",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
"type": "stat"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"fieldConfig": {
"defaults": {
"custom": {}
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 13
"w": 6,
"x": 18,
"y": 25
},
"height": "1px",
"id": 12,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": " cores",
"postfixFontSize": "30%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"textMode": "auto"
},
"tableColumn": "",
"pluginVersion": "8.4.2",
"targets": [

@@ -825,202 +1060,521 @@ {

],
"thresholds": "",
"title": "Total",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 28
},
"id": 66,
"panels": [],
"title": "Pods",
"type": "row"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 12,
"x": 0,
"y": 29
},
"id": 56,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"op": "=",
"text": "N/A",
"value": "null"
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Running\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"valueName": "current"
"title": "Pods Running",
"type": "stat"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 4,
"x": 16,
"y": 13
"w": 12,
"x": 12,
"y": 29
},
"height": "1px",
"id": 13,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
"id": 58,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"name": "range to text",
"value": 2
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Pending\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
"title": "Pods Pending",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 8,
"x": 0,
"y": 32
},
"id": 62,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"from": "null",
"text": "N/A",
"to": "null"
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Succeeded\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"title": "Pods Succeeded",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"tableColumn": "",
"gridPos": {
"h": 3,
"w": 8,
"x": 8,
"y": 32
},
"id": 60,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"expr": "sum (container_fs_usage_bytes{device=~\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Failed\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "",
"title": "Used",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
"title": "Pods Failed",
"type": "stat"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 4,
"x": 20,
"y": 13
"w": 8,
"x": 16,
"y": 32
},
"height": "1px",
"id": 14,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
"id": 64,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"name": "range to text",
"value": 2
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Unknown\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
"title": "Pods Unknown",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 35
},
"id": 50,
"panels": [],
"title": "Deployments",
"type": "row"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 36
},
"id": 40,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"from": "null",
"text": "N/A",
"to": "null"
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_deployment_status_replicas{namespace=~\"$namespace\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
"title": "Deployment Replicas",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"tableColumn": "",
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 36
},
"id": 42,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"expr": "sum (container_fs_limit_bytes{device=~\"^/dev/[sv]d[a-z][1-9]$\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"})",
"interval": "10s",
"intervalFactor": 1,
"refId": "A",
"step": 10
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_deployment_status_replicas_updated{namespace=~\"$namespace\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "",
"title": "Total",
"type": "singlestat",
"valueFontSize": "50%",
"valueMaps": [
"title": "Deployment Replicas - Updated",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 36
},
"id": 44,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"op": "=",
"text": "N/A",
"value": "null"
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_deployment_status_replicas_unavailable{namespace=~\"$namespace\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"valueName": "current"
"title": "Deployment Replicas - Unavailable",
"type": "stat"
},
{
"collapsed": true,
"datasource": null,
"collapsed": false,
"gridPos": {

@@ -1030,124 +1584,219 @@ "h": 1,

"x": 0,
"y": 16
"y": 41
},
"id": 35,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 3,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
"id": 74,
"panels": [],
"title": "Containers",
"type": "row"
},
{
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "blue",
"mode": "fixed"
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 17
},
"height": "",
"hiddenSeries": false,
"id": 17,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
"mappings": [
{
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (pod)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ pod }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
"options": {
"match": "null",
"result": {
"index": 0,
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Pods CPU usage (1m avg)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 0,
"y": 42
},
"id": 68,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
"exemplar": true,
"expr": "sum(kube_pod_container_status_running{namespace=~\"$namespace\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Containers Running",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "blue",
"mode": "fixed"
},
"yaxes": [
"mappings": [
{
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
"options": {
"match": "null",
"result": {
"index": 0,
"text": "N/A"
}
},
"type": "special"
}
],
"yaxis": {
"align": false,
"alignLevel": null
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 8,
"y": 42
},
"id": 70,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_pod_container_status_waiting{namespace=~\"$namespace\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Pods CPU usage",
"type": "row"
"title": "Containers Waiting",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "blue",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 16,
"y": 42
},
"id": 72,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"exemplar": true,
"expr": "sum(kube_pod_container_status_terminated{namespace=~\"$namespace\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Containers Terminated",
"type": "stat"
},
{
"collapsed": true,
"datasource": null,
"gridPos": {

@@ -1157,5 +1806,5 @@ "h": 1,

"x": 0,
"y": 17
"y": 46
},
"id": 39,
"id": 37,
"panels": [

@@ -1167,13 +1816,9 @@ {

"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"decimals": 3,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,

@@ -1186,6 +1831,7 @@ "fillGradient": 0,

"x": 0,
"y": 25
"y": 17
},
"height": "",
"hiddenSeries": false,
"id": 25,
"id": 24,
"isNew": true,

@@ -1196,2 +1842,4 @@ "legend": {

"current": true,
"hideEmpty": false,
"hideZero": false,
"max": false,

@@ -1201,3 +1849,2 @@ "min": false,

"show": true,
"sideWidth": 200,
"sort": "current",

@@ -1216,3 +1863,3 @@ "sortDesc": true,

"percentage": false,
"pluginVersion": "7.3.4",
"pluginVersion": "8.4.2",
"pointradius": 5,

@@ -1227,18 +1874,36 @@ "points": false,

{
"expr": "sum (container_memory_working_set_bytes{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}) by (pod)",
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",name=~\"^k8s_.*\",io_kubernetes_container_name!=\"POD\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (io_kubernetes_container_name, io_kubernetes_pod_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ pod }}",
"metric": "container_memory_usage:sort_desc",
"legendFormat": "pod: {{ io_kubernetes_pod_name }} | {{ io_kubernetes_container_name }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
},
{
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, name, image)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "container_cpu",
"refId": "B",
"step": 10
},
{
"expr": "sum (rate (container_cpu_usage_seconds_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "container_cpu",
"refId": "C",
"step": 10
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Pods memory usage",
"title": "Containers CPU usage",
"tooltip": {
"msResolution": false,
"msResolution": true,
"shared": true,

@@ -1250,5 +1915,3 @@ "sort": 2,

"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,

@@ -1259,7 +1922,5 @@ "values": []

{
"format": "bytes",
"label": null,
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": null,
"show": true

@@ -1269,6 +1930,3 @@ },

"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false

@@ -1278,8 +1936,7 @@ }

"yaxis": {
"align": false,
"alignLevel": null
"align": false
}
}
],
"title": "Pods memory usage",
"title": "Containers CPU usage",
"type": "row"

@@ -1289,3 +1946,2 @@ },

"collapsed": true,
"datasource": null,
"gridPos": {

@@ -1295,5 +1951,5 @@ "h": 1,

"x": 0,
"y": 18
"y": 47
},
"id": 43,
"id": 38,
"panels": [

@@ -1305,24 +1961,20 @@ {

"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"datasource": {
"type": "prometheus",
"uid": "P50114AABD22B4342"
},
"decimals": 3,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"h": 14,
"w": 24,
"x": 0,
"y": 26
"y": 18
},
"hiddenSeries": false,
"id": 16,
"id": 20,
"isNew": true,

@@ -1335,5 +1987,4 @@ "legend": {

"min": false,
"rightSide": true,
"rightSide": false,
"show": true,
"sideWidth": 200,
"sort": "current",

@@ -1352,3 +2003,3 @@ "sortDesc": true,

"percentage": false,
"pluginVersion": "7.3.4",
"pluginVersion": "8.4.2",
"pointradius": 5,

@@ -1363,28 +2014,17 @@ "points": false,

{
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (pod)",
"expr": "sum (rate (container_cpu_usage_seconds_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> {{ pod }}",
"metric": "network",
"legendFormat": "{{ id }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (pod)",
"hide": true,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- {{ pod }}",
"metric": "network",
"refId": "B",
"step": 10
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Pods network I/O (1m avg)",
"title": "All processes CPU usage",
"tooltip": {
"msResolution": false,
"msResolution": true,
"shared": true,

@@ -1396,5 +2036,3 @@ "sort": 2,

"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,

@@ -1405,7 +2043,4 @@ "values": []

{
"format": "Bps",
"label": null,
"format": "percent",
"logBase": 1,
"max": null,
"min": null,
"show": true

@@ -1415,6 +2050,3 @@ },

"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false

@@ -1424,865 +2056,12 @@ }

"yaxis": {
"align": false,
"alignLevel": null
"align": false
}
}
],
"title": "Pods network I/O",
"type": "row"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 19
},
"id": 37,
"panels": [],
"title": "Containers CPU usage",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 3,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 20
},
"height": "",
"hiddenSeries": false,
"id": 24,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": null,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",name=~\"^k8s_.*\",container!=\"POD\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (container, pod)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "pod: {{ pod }} | {{ container }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
},
{
"expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, name, image)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "container_cpu",
"refId": "B",
"step": 10
},
{
"expr": "sum (rate (container_cpu_usage_seconds_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "container_cpu",
"refId": "C",
"step": 10
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Containers CPU usage (1m avg)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 27
},
"id": 41,
"panels": [],
"title": "Containers memory usage",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 28
},
"hiddenSeries": false,
"id": 27,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum (container_memory_working_set_bytes{image!=\"\",name=~\"^k8s_.*\",container!=\"POD\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}) by (container, pod)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "pod: {{ pod }} | {{ container }}",
"metric": "container_memory_usage:sort_desc",
"refId": "A",
"step": 10
},
{
"expr": "sum (container_memory_working_set_bytes{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}) by (kubernetes_io_hostname, name, image)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "container_memory_usage:sort_desc",
"refId": "B",
"step": 10
},
{
"expr": "sum (container_memory_working_set_bytes{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}) by (kubernetes_io_hostname, rkt_container_name)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "container_memory_usage:sort_desc",
"refId": "C",
"step": 10
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Containers memory usage",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 35
},
"id": 44,
"panels": [],
"title": "Containers network I/O",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 36
},
"hiddenSeries": false,
"id": 30,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (container, pod)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> pod: {{ pod }} | {{ container }}",
"metric": "network",
"refId": "B",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name=~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (container, pod)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- pod: {{ pod }} | {{ container }}",
"metric": "network",
"refId": "D",
"step": 10
},
{
"expr": "sum (rate (container_network_receive_bytes_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, name, image)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "network",
"refId": "A",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{image!=\"\",name!~\"^k8s_.*\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, name, image)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- docker: {{ kubernetes_io_hostname }} | {{ image }} ({{ name }})",
"metric": "network",
"refId": "C",
"step": 10
},
{
"expr": "sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "network",
"refId": "E",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{rkt_container_name!=\"\",kubernetes_io_hostname=~\"^$Node$\",namespace=~\"^$namespace$\"}[1m])) by (kubernetes_io_hostname, rkt_container_name)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- rkt: {{ kubernetes_io_hostname }} | {{ rkt_container_name }}",
"metric": "network",
"refId": "F",
"step": 10
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Containers network I/O (1m avg)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 43
},
"id": 38,
"panels": [],
"repeat": null,
"title": "All processes CPU usage",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 3,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 44
},
"hiddenSeries": false,
"id": 20,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum (rate (container_cpu_usage_seconds_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
"hide": false,
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ id }}",
"metric": "container_cpu",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "All processes CPU usage (1m avg)",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": "cores",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 58
},
"id": 42,
"panels": [],
"title": "All processes memory usage",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 59
},
"hiddenSeries": false,
"id": 28,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "sum (container_memory_working_set_bytes{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) by (id)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "{{ id }}",
"metric": "container_memory_usage:sort_desc",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "All processes memory usage",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 73
},
"id": 45,
"panels": [],
"title": "All processes network I/O",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 2,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"grid": {},
"gridPos": {
"h": 14,
"w": 24,
"x": 0,
"y": 74
},
"hiddenSeries": false,
"id": 29,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sideWidth": 200,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum (rate (container_network_receive_bytes_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "-> {{ id }}",
"metric": "network",
"refId": "A",
"step": 10
},
{
"expr": "- sum (rate (container_network_transmit_bytes_total{id!=\"/\",kubernetes_io_hostname=~\"^$Node$\"}[1m])) by (id)",
"interval": "10s",
"intervalFactor": 1,
"legendFormat": "<- {{ id }}",
"metric": "network",
"refId": "B",
"step": 10
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "All processes network I/O (1m avg)",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "10s",
"schemaVersion": 26,
"refresh": "5s",
"schemaVersion": 35,
"style": "dark",

@@ -2295,18 +2074,17 @@ "tags": [

{
"allValue": "",
"current": {
"selected": false,
"selected": true,
"text": "All",
"value": "$__all"
},
"datasource": "Prometheus",
"definition": "label_values(namespace)",
"error": null,
"definition": "label_values(kube_pod_info, namespace)",
"hide": 0,
"includeAll": true,
"label": null,
"multi": false,
"name": "namespace",
"options": [],
"query": "label_values(namespace)",
"query": {
"query": "label_values(kube_pod_info, namespace)",
"refId": "StandardVariableQuery"
},
"refresh": 1,

@@ -2316,25 +2094,39 @@ "regex": "",

"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
"type": "query"
},
{
"allValue": ".*",
"current": {
"selected": false,
"text": ".*",
"value": ".*"
},
"hide": 0,
"name": "node",
"options": [
{
"selected": true,
"text": ".*",
"value": ".*"
}
],
"query": ".*",
"skipUrlSync": false,
"type": "textbox"
},
{
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": "Prometheus",
"definition": "",
"error": null,
"definition": "label_values(kubernetes_io_hostname)",
"hide": 0,
"includeAll": true,
"label": null,
"multi": false,
"name": "Node",
"options": [],
"query": "label_values(kubernetes_io_hostname)",
"query": {
"query": "label_values(kubernetes_io_hostname)",
"refId": "StandardVariableQuery"
},
"refresh": 1,

@@ -2344,7 +2136,3 @@ "regex": "",

"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
"type": "query"
}

@@ -2383,5 +2171,6 @@ ]

"timezone": "browser",
"title": "Kubernetes Monitoring Dashboard",
"uid": "msqzbWjWk",
"version": 3
"title": "Kubernetes cluster monitoring",
"uid": "kFc8yUi4k",
"version": 6,
"weekStart": ""
}

@@ -9,10 +9,4 @@ global:

- targets:
- prometheus:9090
- prometheus:9091
- job_name: cadvisor
scrape_interval: 5s
static_configs:
- targets:
- cadvisor:8080
- job_name: node-exporter

@@ -22,3 +16,3 @@ scrape_interval: 5s

- targets:
- node-exporter:9100
- node-exporter:9111

@@ -25,0 +19,0 @@

@@ -16,17 +16,24 @@ # Copyright 2021 Intel Corporation

services:
prometheus:
image: prom/prometheus:latest
hostname: prometheus
container_name: prometheus
grafana:
hostname: grafana
build:
context: ./.
image: grafana-render:1.0
container_name: cluster_grafana
ports:
- '9090:9090'
command:
- --config.file=/etc/prometheus/prometheus.yml
- '3212:3000'
- '8687:8686'
depends_on:
- node-exporter
- prometheus
environment:
- HOST_IP=${HOST_IP}
- GRAFANA_HOST=grafana
- PROMETHEUS_HOST=prometheus
- LOCAL_HOST=0.0.0.0
- NO_PROXY=prometheus,node-exporter
- no_proxy=prometheus,node-exporter
volumes:
- ./configs/prometheus.yml:/etc/prometheus/prometheus.yml:rw
environment:
- NO_PROXY=grafana
- no_proxy=grafana
- ./configs/grafana_dashboards:/etc/grafana/provisioning/dashboards/
- ./configs/grafana_datasources:/etc/grafana/provisioning/datasources/
- ./configs/grafana.ini:/etc/grafana/grafana.ini:rw
networks:

@@ -38,22 +45,19 @@ - app_network

timeout: 10s
retries: 3
retries: 3
grafana:
image: karthikx/eval_grafana:1.0
hostname: grafana
container_name: grafana
prometheus:
image: prom/prometheus:latest
hostname: prometheus
container_name: cluster_prometheus
ports:
- '3212:3000'
- '9091:9090'
command:
- --config.file=/etc/prometheus/prometheus.yml
depends_on:
- node-exporter
volumes:
- ./configs/prometheus.yml:/etc/prometheus/prometheus.yml:rw
environment:
- HOST_IP=${HOST_IP}
- GRAFANA_HOST=grafana
- INFLUXDB_HOST=influxdb
- PROMETHEUS_HOST=prometheus
- LOCAL_HOST=0.0.0.0
- NO_PROXY=prometheus,node-exporter
- no_proxy=prometheus,node-exporter
volumes:
- ./configs/grafana.ini:/etc/grafana/grafana.ini
- ./configs/grafana_dashboards:/etc/grafana/provisioning/dashboards/
- ./configs/grafana_datasources:/etc/grafana/provisioning/datasources/
- NO_PROXY=grafana,node_exporter
- no_proxy=grafana,node_exporter
networks:

@@ -69,8 +73,11 @@ - app_network

image: prom/node-exporter:latest
container_name: node_exporter
container_name: cluster_node_exporter
restart: unless-stopped
ports:
- '9100:9100'
- '9111:9100'
networks:
- app_network
environment:
- NO_PROXY=grafana,prometheus
- no_proxy=grafana,prometheus
healthcheck:

@@ -77,0 +84,0 @@ test: ["CMD", "curl", "-f", "http://localhost"]

@@ -11,3 +11,3 @@ #!/bin/bash

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/docker-compose-app-service.yaml restart $1
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/cluster-telemetry/docker-compose-app-service.yaml restart $1
grafana prometheus node-exporter

@@ -14,0 +14,0 @@ fi

@@ -9,6 +9,6 @@ #!/bin/bash

echo $
if [ "$(echo "intel123" | sudo docker ps -q -f name=^prometheus$)" ]; then
if [ "$(echo "intel123" | sudo docker ps -q -f name=^cluster_prometheus$)" ]; then
echo -e "\e[1;32m\nCluster-Telemetry already running\e[0m"
echo -e "\e[1;32m\nPlease run the below command by entering into dc_cli\e[0m"
echo -e "To stop run command: '\e[1;3;4;33mdc one-edge-building-blocks observability-services cluster-telemetry stop $1\e[0m'"
echo -e "To stop run command: '\e[1;3;4;33mdc app-services cluster-telemetry stop $1\e[0m'"
else

@@ -19,3 +19,3 @@ echo -e "\e[1;32m\nInstalling Cluster-Telemetry service\e[0m"

if [ $1=="all-services" ]; then
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/docker-compose-app-service.yaml up -d --build grafana prometheus node-exporter
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/cluster-telemetry/docker-compose-app-service.yaml up -d --build grafana prometheus node-exporter
sudo docker ps

@@ -22,0 +22,0 @@ fi

@@ -6,3 +6,3 @@ #!/bin/bash

echo $1
if [ "$(echo "intel123" | sudo docker ps -q -f name=^prometheus$)" ]; then
if [ "$(echo "intel123" | sudo docker ps -q -f name=^cluster_prometheus$)" ]; then
echo -e "\e[1;32m\nStoping and Deleting Cluster-Telemetry service\e[0m"

@@ -12,3 +12,3 @@ export HOST_IP=$(hostname -I | cut -d' ' -f1)

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/docker-compose-app-service.yaml stop grafana prometheus node-exporter
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/cluster-telemetry/docker-compose-app-service.yaml stop grafana prometheus node-exporter
#sudo docker rm -f $(sudo docker ps -aq)

@@ -18,7 +18,7 @@ sudo docker ps

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/docker-compose-app-service.yaml stop $1
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/cluster-telemetry/docker-compose-app-service.yaml stop $1
fi
else
echo "Cluster-Telemetry is not running"
echo -e "To start run command: '\e[1;3;4;33mdc one-edge-building-blocks observability-services cluster-telemetry start $1\e[0m'"
echo -e "To start run command: '\e[1;3;4;33mdc app-services cluster-telemetry start $1\e[0m'"
fi

@@ -9,3 +9,3 @@ global:

- targets:
- prometheus:9090
- prometheus:9092

@@ -16,16 +16,16 @@ - job_name: cadvisor

- targets:
- cadvisor:8080
- cadvisor:8082
- job_name: node-exporter
scrape_interval: 5s
static_configs:
- targets:
- node-exporter:9100
#- job_name: node-exporter
#scrape_interval: 5s
#static_configs:
#- targets:
#- node-exporter:9100
remote_write:
- url: "http://influxdb:8086/api/v1/prom/write?db=prometheus"
#remote_write:
#- url: "http://influxdb:8086/api/v1/prom/write?db=prometheus"
remote_read:
- url: "http://influxdb:8086/api/v1/prom/read?db=prometheus"
#remote_read:
#- url: "http://influxdb:8086/api/v1/prom/read?db=prometheus"

@@ -19,5 +19,5 @@ # Copyright 2021 Intel Corporation

hostname: prometheus
container_name: prometheus
container_name: docker_prometheus
ports:
- '9090:9090'
- '9092:9090'
command:

@@ -30,4 +30,4 @@ - --config.file=/etc/prometheus/prometheus.yml

environment:
- NO_PROXY=influxdb,grafana,cadvisor
- no_proxy=influxdb,grafana,cadvisor
- NO_PROXY=grafana,cadvisor
- no_proxy=grafana,cadvisor
networks:

@@ -44,17 +44,16 @@ - app_network

hostname: grafana
container_name: grafana
container_name: docker_grafana
ports:
- '3213:3000'
depends_on:
- influxdb
- prometheus
links:
- influxdb
- prometheus
environment:
- HOST_IP=${HOST_IP}
- GRAFANA_HOST=grafana
- INFLUXDB_HOST=influxdb
- PROMETHEUS_HOST=prometheus
- LOCAL_HOST=0.0.0.0
- NO_PROXY=influxdb,cadvisor,prometheus
- no_proxy=influxdb,cadvisor,prometheus
- NO_PROXY=cadvisor,prometheus
- no_proxy=cadvisor,prometheus
volumes:

@@ -72,30 +71,7 @@ - ./configs/grafana.ini:/etc/grafana/grafana.ini

influxdb:
image: influxdb:1.7.9-alpine
env_file:
- ./configs/influxdb/.env-influx-db
hostname: influxdb
container_name: influxdb
ports:
- '8086:8086'
volumes:
- ./configs/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf:ro
- ./configs/influxdb/types.db:/usr/share/collectd/types.db:ro
environment:
- NO_PROXY=grafana,prometheus
- no_proxy=grafana,prometheus
networks:
- app_network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 1m30s
timeout: 10s
retries: 3
cadvisor:
image: gcr.io/google-containers/cadvisor:latest
container_name: cadvisor
container_name: docker_cadvisor
ports:
- '8080:8080'
- '8082:8080'
volumes:

@@ -102,0 +78,0 @@ - /:/rootfs:ro

@@ -11,4 +11,4 @@ #!/bin/bash

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/docker-telemetry/docker-compose-app-service.yaml restart $1
influxdb grafana cadvisor prometheus
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/docker-telemetry/docker-compose-app-service.yaml restart $1
grafana cadvisor prometheus
fi

@@ -15,0 +15,0 @@ fi

@@ -6,6 +6,6 @@ #!/bin/bash

echo $
if [ "$(echo "intel123" | sudo docker ps -q -f name=^cadvisor$)" ]; then
if [ "$(echo "intel123" | sudo docker ps -q -f name=^docker_cadvisor$)" ]; then
echo -e "\e[1;32m\nDocker-Telemetry already running\e[0m"
echo -e "\e[1;32m\nPlease run the below command by entering into dc_cli\e[0m"
echo -e "To stop run command: '\e[1;3;4;33mdc one-edge-building-blocks observability-services docker-telemetry stop $1\e[0m'"
echo -e "To stop run command: '\e[1;3;4;33mdc app-services docker-telemetry stop $1\e[0m'"
else

@@ -16,3 +16,3 @@ echo -e "\e[1;32m\nInstalling Docker-Telemetry service\e[0m"

if [ $1=="all-services" ]; then
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/docker-telemetry/docker-compose-app-service.yaml up -d --build influxdb grafana cadvisor prometheus
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/docker-telemetry/docker-compose-app-service.yaml up -d --build grafana cadvisor prometheus
sudo docker ps

@@ -19,0 +19,0 @@ fi

@@ -6,3 +6,3 @@ #!/bin/bash

echo $1
if [ "$(echo "intel123" | sudo docker ps -q -f name=^cadvisor$)" ]; then
if [ "$(echo "intel123" | sudo docker ps -q -f name=^docker_cadvisor$)" ]; then
echo -e "\e[1;32m\nStoping and Deleting Docker-Telemetry service\e[0m"

@@ -12,3 +12,3 @@ export HOST_IP=$(hostname -I | cut -d' ' -f1)

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/docker-telemetry/docker-compose-app-service.yaml stop influxdb grafana cadvisor prometheus
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/docker-telemetry/docker-compose-app-service.yaml stop grafana cadvisor prometheus
#sudo docker rm -f $(sudo docker ps -aq)

@@ -18,7 +18,7 @@ sudo docker ps -a

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/docker-telemetry/docker-compose-app-service.yaml stop $1
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/docker-telemetry/docker-compose-app-service.yaml stop $1
fi
else
echo "Docker-Telemetry is not running"
echo -e "To start run command: '\e[1;3;4;33mdc one-edge-building-blocks observability-services docker-telemetry start $1\e[0m'"
echo -e "To start run command: '\e[1;3;4;33mdc app-services docker-telemetry start $1\e[0m'"
fi

@@ -19,3 +19,3 @@ # Copyright 2021 Intel Corporation

hostname: grafana
container_name: grafana
container_name: loki_grafana
ports:

@@ -64,3 +64,4 @@ - '3214:3000'

- ./configs/promtail/promtail-config.yaml:/mnt/config/promtail-config.yaml
- ../../../../../../../../../home/intel/madhavi/results/logs:/host/containers
- ${PWD}/results/logs:/host/containers
#- /var/lib/docker/containers:/host/containers
command:

@@ -75,4 +76,4 @@ - --config.file=/etc/promtail/promtail-config.yaml

app_network:
driver: "bridge"
driver: "bridge"

@@ -11,3 +11,3 @@ #!/bin/bash

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/log-analytics/docker-compose-app-service.yaml restart $1
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/log-analytics/docker-compose-app-service.yaml restart $1
loki promtail grafana

@@ -14,0 +14,0 @@ fi

@@ -5,6 +5,7 @@ #!/bin/bash

sudo pip3 install docker
ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
echo "-------------------------------------------------------"
sudo nohup python3 /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/log-analytics/generate_logs.py > nohup_log.txt &
sudo nohup python3 /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/log-analytics/generate_logs.py > nohup_log.txt &
echo -e "\e[1;36mLog Services are up..\e[0m"

@@ -15,10 +16,10 @@

echo -e "\e[1;32m\nLog-Analytics already running\e[0m"
export HOST_IP=$(hostname -I | cut -d' ' -f1)
echo -e "\e[1;32m\nPlease run the below command by entering into dc_cli\e[0m"
echo -e "To stop run command: '\e[1;3;4;33mdc one-edge-building-blocks observability-services log-analytics stop \e[0m'"
echo -e "To stop run command: '\e[1;3;4;33mdc app-services log-analytics stop\e[0m'"
else
echo -e "\e[1;32m\nInstalling Log-Analytics service\e[0m"
export HOST_IP=$(hostname -I | cut -d' ' -f1)
ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
if [ $1=="all-services" ]; then
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/log-analytics/docker-compose-app-service.yaml up -d --build loki promtail grafana
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/log-analytics/docker-compose-app-service.yaml up -d --build loki promtail grafana
sudo docker ps

@@ -28,3 +29,4 @@ fi

echo "If Log-Analytics is working fine.Then check metrics by using Grafana"
echo -e "\e[1;31m\nIf Log-Analytics is working fine.Then check metrics by using Grafana\e[0m"
export HOST_IP=$(hostname -I | cut -d' ' -f1)

@@ -31,0 +33,0 @@ echo -e "\e[1;32m\n********* Grafana URL **************\e[0m"

@@ -11,3 +11,3 @@ #!/bin/bash

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/log-analytics/docker-compose-app-service.yaml stop loki grafana promtail
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/log-analytics/docker-compose-app-service.yaml stop loki grafana promtail
#sudo docker rm -f $(sudo docker ps -aq)

@@ -17,3 +17,3 @@ sudo docker ps -a

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/log-analytics/docker-compose-app-service.yaml stop $1
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/log-analytics/docker-compose-app-service.yaml stop $1
sudo docker ps -a

@@ -23,4 +23,4 @@ fi

echo "Log-Analytics is not running"
echo -e "To start run command: '\e[1;3;4;33mdc one-edge-building-blocks observability-services log-analytics start $1\e[0m'"
echo -e "To start run command: '\e[1;3;4;33mdc app-services log-analytics start $1\e[0m'"
fi

@@ -18,3 +18,3 @@ {

"graphTooltip": 0,
"id": 3,
"id": 1,
"links": [],

@@ -29,3 +29,5 @@ "panels": [

"fieldConfig": {
"defaults": {},
"defaults": {
"custom": {}
},
"overrides": []

@@ -61,3 +63,3 @@ },

"percentage": true,
"pluginVersion": "7.5.8",
"pluginVersion": "7.3.4",
"pointradius": 2,

@@ -81,3 +83,3 @@ "points": false,

"params": [
"1s"
"$__interval"
],

@@ -259,3 +261,5 @@ "type": "time"

"fieldConfig": {
"defaults": {},
"defaults": {
"custom": {}
},
"overrides": []

@@ -290,3 +294,3 @@ },

"percentage": true,
"pluginVersion": "7.5.8",
"pluginVersion": "7.3.4",
"pointradius": 2,

@@ -388,3 +392,5 @@ "points": false,

"fieldConfig": {
"defaults": {},
"defaults": {
"custom": {}
},
"overrides": []

@@ -419,3 +425,3 @@ },

"percentage": false,
"pluginVersion": "7.5.8",
"pluginVersion": "7.3.4",
"pointradius": 2,

@@ -527,3 +533,5 @@ "points": false,

"fieldConfig": {
"defaults": {},
"defaults": {
"custom": {}
},
"overrides": []

@@ -558,3 +566,3 @@ },

"percentage": false,
"pluginVersion": "7.5.8",
"pluginVersion": "7.3.4",
"pointradius": 2,

@@ -660,3 +668,5 @@ "points": false,

"fieldConfig": {
"defaults": {},
"defaults": {
"custom": {}
},
"overrides": []

@@ -692,3 +702,3 @@ },

"percentage": false,
"pluginVersion": "7.5.8",
"pluginVersion": "7.3.4",
"pointradius": 2,

@@ -839,3 +849,5 @@ "points": false,

"fieldConfig": {
"defaults": {},
"defaults": {
"custom": {}
},
"overrides": []

@@ -871,3 +883,3 @@ },

"percentage": false,
"pluginVersion": "7.5.8",
"pluginVersion": "7.3.4",
"pointradius": 2,

@@ -1010,4 +1022,4 @@ "points": false,

],
"refresh": "5s",
"schemaVersion": 27,
"refresh": "1m",
"schemaVersion": 26,
"style": "dark",

@@ -1019,3 +1031,3 @@ "tags": [],

"time": {
"from": "now-1h",
"from": "now-2m",
"to": "now"

@@ -1022,0 +1034,0 @@ },

@@ -14,10 +14,12 @@ # Copyright 2021 Intel Corporation

version: '3.2'
services:
grafana:
image: karthikx/eval_grafana:1.0
hostname: grafana
container_name: grafana
container_name: system_grafana
build:
context: ./.
image: grafana-render:1.0
ports:
- '3211:3000'
- '8686:8686'
depends_on:

@@ -30,11 +32,10 @@ - influxdb

- GRAFANA_HOST=grafana
- INFLUXDB_HOST=influxdb
- PROMETHEUS_HOST=prometheus
- INFLUXDB_HOST=influxdb
- LOCAL_HOST=0.0.0.0
- NO_PROXY=influxdb,collectd
- no_proxy=influxdb,collectd
- no_proxy=influxdb,collectd
volumes:
- ./configs/grafana.ini:/etc/grafana/grafana.ini
- ./configs/grafana_dashboards:/etc/grafana/provisioning/dashboards/
- ./configs/grafana_datasources:/etc/grafana/provisioning/datasources/
- ./configs/grafana_dashboards:/etc/grafana/provisioning/dashboards/
- ./configs/grafana_datasources:/etc/grafana/provisioning/datasources/
- ./configs/grafana.ini:/etc/grafana/grafana.ini:rw
networks:

@@ -47,7 +48,7 @@ - app_network

retries: 3
influxdb:
image: influxdb:1.7.9-alpine
hostname: influxdb
container_name: influxdb
container_name: system_influxdb
ports:

@@ -96,1 +97,2 @@ - '8087:8086'

@@ -11,3 +11,3 @@ #!/bin/bash

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/docker-compose-app-service.yaml restart $1
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/system-telemetry/docker-compose-app-service.yaml restart $1
grafana influxdb collectd

@@ -14,0 +14,0 @@ fi

@@ -6,6 +6,6 @@ #!/bin/bash

echo $
if [ "$(echo "intel123" | sudo docker ps -q -f name=^collectd$)" ]; then
if [ "$(echo "intel123" | sudo docker ps -q -f name=^system_influxdb$)" ]; then
echo -e "\e[1;32m\nSystem-Telemetry already running\e[0m"
echo -e "\e[1;32m\nPlease run the below command by entering into dc_cli\e[0m"
echo -e "To stop run command: '\e[1;3;4;33mdc one-edge-building-blocks observability-services system-telemetry stop $1\e[0m'"
echo -e "To stop run command: '\e[1;3;4;33mdc app-services system-telemetry stop $1\e[0m'"
else

@@ -16,3 +16,3 @@ echo -e "\e[1;32m\nInstalling System-Telemetry service\e[0m"

if [ $1=="all-services" ]; then
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/docker-compose-app-service.yaml up -d --build influxdb grafana collectd
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/system-telemetry/docker-compose-app-service.yaml up -d --build influxdb grafana collectd
sudo docker ps

@@ -24,3 +24,3 @@ fi

echo "If System-Telemetry is working fine.Then check metircs by using Grafana"
echo "If System-Telemetry is working fine.Then check metrics by using Grafana"
export HOST_IP=$(hostname -I | cut -d' ' -f1)

@@ -27,0 +27,0 @@ echo -e "\e[1;32m\n********* Grafana URL **************\e[0m"

@@ -6,3 +6,3 @@ #!/bin/bash

echo $1
if [ "$(echo "intel123" | sudo docker ps -q -f name=^influxdb$)" ]; then
if [ "$(echo "intel123" | sudo docker ps -q -f name=^system_influxdb$)" ]; then
echo -e "\e[1;32m\nStoping and Deleting System-Telemetry service\e[0m"

@@ -12,12 +12,12 @@ export HOST_IP=$(hostname -I | cut -d' ' -f1)

ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/docker-compose-app-service.yaml stop influxdb grafana collectd
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/system-telemetry/docker-compose-app-service.yaml stop influxdb grafana collectd
#sudo docker rm -f $(sudo docker ps -aq)
sudo docker ps
#sudo docker ps
else
ver=$(python3 --version | grep Python | awk '{print $2}' | xargs printf '%0.1f\n')
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/docker-compose-app-service.yaml stop $1
sudo -E docker-compose -f /usr/local/lib/python$ver/dist-packages/src/scripts/app-services/system-telemetry/docker-compose-app-service.yaml stop $1
fi
else
echo "System-Telemetry is not running"
echo -e "To start run command: '\e[1;3;4;33mdc one-edge-building-blocks observability-services system-telemetry start $1\e[0m'"
echo -e "To start run command: '\e[1;3;4;33mdc app-services system-telemetry start $1\e[0m'"
fi

@@ -79,3 +79,3 @@ include dc_cli/src/scripts/system-tools/vim/*.sh

include dc_cli/src/scripts/dl-model-training-services/datasets/fake-face-detection/*.sh
include dc_cli/src/scripts/dl-model-training-services/datasets/face-mask-detection/*.sh
include dc_cli/src/scripts/dl-model-training-serviceis/datasets/face-mask-detection/*.sh
include dc_cli/src/scripts/dl-model-training-services/datasets/face-detection/*.sh

@@ -97,3 +97,3 @@

include dc_cli/src/scripts/dl-model-training-services/ai-reference-kits/intelligent-indexing/*.sh
include dc_cli/src/scripts/dl-model-training-services/ai-reference-kits/predictive-health-analytics /*.sh
include dc_cli/src/scripts/dl-model-training-services/ai-reference-kits/predictive-health-analytics/*.sh
include dc_cli/src/scripts/dl-model-training-services/ai-reference-kits/visual-quality-inspection/*.sh

@@ -153,3 +153,3 @@

include dc_cli/src/scripts/cloud-native-tools/ci-tools/*.sh
include dc_cli/src/scripts/cloud-native-tools/iac-tools /*.sh
include dc_cli/src/scripts/cloud-native-tools/iac-tools/*.sh
include dc_cli/src/scripts/cloud-native-tools/observability-tools/*.sh

@@ -173,2 +173,6 @@

include dc_cli/src/scripts/cloud-native-tools/iac-tools/terraform/*.sh
include dc_cli/src/scripts/cloud-native-tools/iac-tools/pulumi/*.sh
include dc_cli/src/scripts/cloud-native-tools/iac-tools/cross-plane/*.sh
include dc_cli/src/scripts/dlstreamer-pipeline-services/dlstreamer-tools/dlstreamer-pipeline-framework/*.sh

@@ -278,2 +282,3 @@ include dc_cli/src/scripts/dlstreamer-pipeline-services/dlstreamer-tools/dlstreamer-pipeline-server/*.sh

include dc_cli/src/scripts/one-edge-building-blocks/csp-services/azure-iot-hub/*.sh
include dc_cli/src/scripts/one-edge-building-blocks/inference-services/dlstreamer/*.sh

@@ -290,2 +295,3 @@ include dc_cli/src/scripts/one-edge-building-blocks/inference-services/dlstreamer-pipeline-server/*.sh

include dc_cli/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/docker-compose-app-service.yaml
include dc_cli/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/Dockerfile
include dc_cli/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/configs/grafana_dashboards/dashboard.yml

@@ -318,2 +324,3 @@ include dc_cli/src/scripts/one-edge-building-blocks/observability-services/cluster-telemetry/configs/grafana_dashboards/kubernetes.json

include dc_cli/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/docker-compose-app-service.yaml
include dc_cli/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/Dockerfile
include dc_cli/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/configs/grafana_dashboards/dashboard.yml

@@ -320,0 +327,0 @@ include dc_cli/src/scripts/one-edge-building-blocks/observability-services/system-telemetry/configs/grafana_dashboards/system-telemetry.json

Metadata-Version: 2.1
Name: devcloudcli
Version: 1.4.0
Version: 1.4.1
Summary: AN Interactive CLI for Intel DevCloud Bench

@@ -5,0 +5,0 @@ Home-page: UNKNOWN

@@ -16,3 +16,3 @@ from setuptools import setup,find_packages

name='devcloudcli',
version='1.4.0',
version='1.4.1',
description='AN Interactive CLI for Intel DevCloud Bench',

@@ -19,0 +19,0 @@ license='Proprietary - Intel',