This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unattended-Upgrade::Origins-Pattern { | |
"site=download.proxmox.com,codename=${distro_codename}"; | |
}; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/sbin/sysctl -w net.ipv6.route.max_size=104857600 | |
/sbin/sysctl -w net.ipv6.route.gc_thresh=104857600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix | |
]; | |
# Use the systemd-boot EFI boot loader. | |
boot.loader.systemd-boot.enable = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- op: add | |
path: /spec/template/spec/containers/0/envFrom/- | |
value: | |
secretRef: | |
name: appinsights | |
- op: add | |
path: /spec/template/spec/containers/0/env/- | |
value: | |
name: JAVA_OPTIONS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "grafana", | |
"uid": "-- Grafana --" | |
}, | |
"enable": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "grafana", | |
"uid": "-- Grafana --" | |
}, | |
"enable": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% curl -I -X GET -H "Content-Type: application/json" -H "Token: 62b24bdf9ce08cfa3fb7ed15aa0d3e027a142df1" https://demo.netbox.dev/api/docs/\?format\=openapi | |
HTTP/1.1 200 OK | |
Server: nginx/1.18.0 (Ubuntu) | |
Date: Thu, 28 Apr 2022 06:59:18 GMT | |
Content-Type: application/openapi+json; charset=utf-8 | |
Content-Length: 1064721 | |
Connection: keep-alive | |
Vary: Accept, Cookie, Authorization, Origin | |
Allow: GET, HEAD, OPTIONS | |
Expires: Thu, 28 Apr 2022 20:40:14 GMT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "kubernetes_config_map" "config_map" { | |
name = "nginx-config" | |
namespace = "ingress" | |
data = <<EOF | |
log-format-upstream: > | |
latency=$upstream_response_time | |
protocol=$server_protocol | |
proxyAlternativeUpstreamName=$proxy_alternative_upstream_name | |
proxyUpstreamName=$proxy_upstream_name | |
referer=$http_referer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
plugin: netbox.netbox.nb_inventory | |
cache: True | |
cache_connection: .inventory | |
cache_plugin: jsonfile | |
plurals: False | |
group_by: |
NewerOlder