Compare commits
6
Commits
a04e0772f8
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa14bea467 | ||
|
|
b6e229d4b3 | ||
|
|
d3a790798e | ||
|
|
44bb75dd47 | ||
|
|
75b041eb87 | ||
|
|
80ca7ac472 |
No files matched your search
@@ -0,0 +1,44 @@
|
|||||||
|
proxy {
|
||||||
|
|
||||||
|
agent.port = 50440
|
||||||
|
|
||||||
|
tls {
|
||||||
|
certChainFilePath = "testing/certs/server1.pem" // Server certificate chain file path
|
||||||
|
privateKeyFilePath = "testing/certs/server1.key" // Server private key file path
|
||||||
|
trustCertCollectionFilePath = "testing/certs/ca.pem" // Trust certificate collection file path
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
agent {
|
||||||
|
|
||||||
|
// Only trustCertCollectionFilePath is required on the client with TLS (with mutual authentication)
|
||||||
|
tls {
|
||||||
|
overrideAuthority = "foo.test.google.fr" // Override authority (for testing only)
|
||||||
|
certChainFilePath = "testing/certs/client.pem" // Client certificate chain file path
|
||||||
|
privateKeyFilePath = "testing/certs/client.key" // Client private key file path
|
||||||
|
trustCertCollectionFilePath = "testing/certs/ca.pem" // Trust certificate collection file path
|
||||||
|
}
|
||||||
|
|
||||||
|
metrics {
|
||||||
|
standardExportsEnabled = true // Include standard export metrics
|
||||||
|
memoryPoolsExportsEnabled = true // Include JVM memory pool metrics
|
||||||
|
garbageCollectorExportsEnabled = true // Include JVM garbage collector metrics
|
||||||
|
threadExportsEnabled = true // Include JVM thread metrics
|
||||||
|
classLoadingExportsEnabled = true // Include JVM class loading metrics
|
||||||
|
versionInfoExportsEnabled = true // Include JVM version info metrics
|
||||||
|
}
|
||||||
|
|
||||||
|
pathConfigs: [
|
||||||
|
{
|
||||||
|
name: "App1 metrics"
|
||||||
|
path: app1_metrics
|
||||||
|
url: "http://167.99.43.82:9100/metrics"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "App2 metrics"
|
||||||
|
path: app2_metrics
|
||||||
|
url: "http://188.165.233.148:9100/metrics"
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
+6
-3
@@ -1,15 +1,17 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
apt update
|
apt update
|
||||||
# install ops tools
|
# install ops tools
|
||||||
apt install sudo nmon tmux tcpdump nano -y
|
apt install sudo nmon tmux tcpdump nano iputils-ping -y
|
||||||
|
|
||||||
# install Docker
|
# install Docker + docker-compose
|
||||||
apt install ca-certificates curl gnupg lsb-release -y
|
apt install ca-certificates curl gnupg lsb-release -y
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
apt update
|
apt update
|
||||||
apt install docker-ce docker-ce-cli containerd.io -y
|
apt install docker-ce docker-ce-cli containerd.io -y
|
||||||
service docker start
|
systemctl start docker
|
||||||
|
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||||
|
chmod +x /usr/local/bin/docker-compose
|
||||||
|
|
||||||
# set TF users
|
# set TF users
|
||||||
wget https://docs.grid.tf/threefold_public/public/raw/branch/master/add-tf-users.sh
|
wget https://docs.grid.tf/threefold_public/public/raw/branch/master/add-tf-users.sh
|
||||||
@@ -19,6 +21,7 @@ sh add-tf-users.sh
|
|||||||
apt install -y debian-keyring debian-archive-keyring apt-transport-https
|
apt install -y debian-keyring debian-archive-keyring apt-transport-https
|
||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | tee /etc/apt/trusted.gpg.d/caddy-stable.asc
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | tee /etc/apt/trusted.gpg.d/caddy-stable.asc
|
||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
|
||||||
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
|
||||||
apt update
|
apt update
|
||||||
apt install caddy -y
|
apt install caddy -y
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user