keepalived master-master
#master1
global_defs {
router_id master_node_1
}
vrrp_noscript check_nginx {
noscript "/etc/keepalived/check_nginx.sh"
interval 1
weight -20
fall 3
}
vrrp_instance VI_1 {
state MASTER
interface eth1
virtual_router_id 51
mcast_src_ip 192.168.33.10
priority 100
advert_int 1
track_noscript {
check_nginx
}
virtual_ipaddress {
192.168.33.51/24
}
}
vrrp_instance VI_2 {
state BACKUP
interface eth1
virtual_router_id 52
mcast_src_ip 192.168.33.10
priority 90
advert_int 1
track_noscript {
check_nginx
}
virtual_ipaddress {
192.168.33.52/24
}
}
#master2
global_defs {
router_id master_node_2
}
vrrp_noscript check_nginx {
noscript "/etc/keepalived/check_nginx.sh"
interval 1
weight -20
fall 3
}
vrrp_instance VI_1 {
state BACKUP
interface eth1
virtual_router_id 51
mcast_src_ip 192.168.33.11
priority 90
advert_int 1
track_noscript {
check_nginx
}
virtual_ipaddress {
192.168.33.51/24
}
}
vrrp_instance VI_2 {
state MASTER
interface eth1
virtual_router_id 52
mcast_src_ip 192.168.33.11
priority 100
advert_int 1
track_noscript {
check_nginx
}
virtual_ipaddress {
192.168.33.52/24
}
}
https://kubernetes.io/docs/concepts/policy/resource-quotas/
https://kubernetes.io/docs/concepts/policy/limit-range/
https://kubernetes.io/docs/concepts/policy/limit-range/
Kubernetes
Resource Quotas
When several users or teams share a cluster with a fixed number of nodes, there is a concern that one team could use more than its fair share of resources.
Resource quotas are a tool for administrators to address this concern.
A resource quota, defined by…
Resource quotas are a tool for administrators to address this concern.
A resource quota, defined by…
https://postman-echo.com/status/200
https://postman-echo.com/basic-auth
postman:password
- "--entryPoints.http.address=:80"
- "--entryPoints.http.transport.respondingTimeouts.readTimeout=0"