Install Prometheus and Grafana
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm install prometheus prometheus-community/kube-prometheus-stack
from matplotlib import pyplot as plt | |
from matplotlib import style | |
style.use('ggplot') | |
x = [5,8,10] | |
y = [12,16,6] | |
x2 = [6,9,11] | |
y2 = [6,15,7] |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>koukou - CV - Lionel Jouin</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta charset="UTF-8"> | |
<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script> | |
<script type="text/javascript" src="https://code.jquery.com/ui/1.11.3/jquery-ui.js"></script> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> | |
<style type="text/css"> |
'use strict'; | |
module.exports = function (app) { | |
var Station = app.models.Station; | |
var Sensor = app.models.Sensor; | |
var Sensors = []; | |
Sensor.create([ | |
{ name: "Temperature", unit: "°C" }, |
--- | |
apiVersion: policy/v1beta1 | |
kind: PodSecurityPolicy | |
metadata: | |
name: psp.flannel.unprivileged | |
annotations: | |
seccomp.security.alpha.kubernetes.io/allowedProfileNames: docker/default | |
seccomp.security.alpha.kubernetes.io/defaultProfileName: docker/default | |
apparmor.security.beta.kubernetes.io/allowedProfileNames: runtime/default | |
apparmor.security.beta.kubernetes.io/defaultProfileName: runtime/default |
--- | |
# Source: calico/templates/calico-config.yaml | |
# This ConfigMap is used to configure a self-hosted Calico installation. | |
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: calico-config | |
namespace: kube-system | |
data: | |
# Typha is disabled. |
--- | |
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: network-attachment-definitions.k8s.cni.cncf.io | |
spec: | |
group: k8s.cni.cncf.io | |
scope: Namespaced | |
names: | |
plural: network-attachment-definitions |
/* | |
Copyright (c) 2021 Nordix Foundation | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
nft add table inet meridio-nfqlb | |
nft add set inet meridio-nfqlb flow-a-saddrs-v4 { type ipv4_addr\; flags interval \; } | |
nft add set inet meridio-nfqlb flow-a-daddrs-v4 { type ipv4_addr\; flags interval \; } | |
nft add set inet meridio-nfqlb flow-a-saddrs-v6 { type ipv6_addr\; flags interval \; } | |
nft add set inet meridio-nfqlb flow-a-daddrs-v6 { type ipv6_addr\; flags interval \; } | |
nft add set inet meridio-nfqlb flow-a-sports { type inet_service\; flags interval \; } | |
nft add set inet meridio-nfqlb flow-a-dports { type inet_service\; flags interval \; } | |
nft add set inet meridio-nfqlb flow-a-protocols { type inet_proto\; flags interval \; } | |
nft add element inet meridio-nfqlb flow-a-saddrs-v4 { 179.10.10.0/24, 180.10.10.0/24 } | |
nft add element inet meridio-nfqlb flow-a-daddrs-v4 { 20.0.0.1/32, 40.0.0.0/24 } |