This file contains hidden or 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
- name: vapp1 | |
metadata: | |
a: 1 | |
b: 2 | |
virtuals: | |
- name: v1 | |
- name: v2 | |
- name: v3 | |
- name: vapp2 | |
metadata: |
This file contains hidden or 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
data "cloudinit_config" "this" { | |
base64_encode = true | |
gzip = false | |
boundary = "//" | |
part { | |
content_type = "text/x-shellscript" | |
content = <<-EOT | |
set -x | |
KUBELET_CONFIG=/etc/kubernetes/kubelet/kubelet-config.json |
This file contains hidden or 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
{ | |
"cniVersion": "0.3.1", | |
"name": "cilium", | |
"plugins": [ | |
{ | |
"cniVersion": "0.3.1", | |
"eni": { | |
"first-interface-index": 1, | |
"subnet-tags": { | |
"Cilium": "Owned", |
This file contains hidden or 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
kubeProxyReplacement: strict | |
k8sServicePort: 443 | |
bpf: | |
masquerade: true | |
extraConfig: | |
install-no-conntrack-iptables-rules: "true" | |
bandwidthManager: | |
enabled: true | |
eni: | |
enabled: true |
This file contains hidden or 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
$ cat Dockerfile | |
FROM docker.io/node:18.18.2 | |
LABEL ttt=aa | |
WORKDIR /app | |
COPY ./yarn.lock ./ | |
COPY ./package.json ./ | |
RUN yarn install --frozen-lockfile --ignore-platform | |
RUN find /usr/local/share/.cache/yarn | |
RUN ls -la /usr/local/share/.cache/yarn/v6/npm-@parcel-watcher-win32-x64-2.3.0-14e7246289861acc589fd608de39fe5d8b4bb0a7-integrity/node_modules/@parcel/watcher-win32-x64/ |
This file contains hidden or 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
/* | |
duration: 72.267 ms | |
parameters: $1 = 'networking', $2 = 'random-string', $3 = 'group', $4 = '{"\"group-name\""}' | |
*/ | |
WITH inactive_nodes AS ( | |
SELECT | |
certname | |
FROM | |
certnames | |
WHERE |
This file contains hidden or 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
/* | |
duration: 4210.015 ms | |
parameters: $1 = 'networking', $2 = 'networking', $3 = 'networking', $4 = 'networking', $5 = 'group', $6 = '{"\"group-name\""}' | |
*/ | |
WITH inactive_nodes AS ( | |
SELECT | |
certname | |
FROM | |
certnames | |
WHERE |
This file contains hidden or 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
globals { | |
providers = ["name1", "name2"] | |
} | |
generate_hcl "example.tf" { | |
content { | |
tm_dynamic "resource1" { | |
for_each = tm_toset(global.providers) | |
iterator = i |
This file contains hidden or 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
$ cat example.tf | |
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT | |
resource1 { | |
provider = "name1" | |
} | |
resource1 { | |
provider = "name2" | |
} | |
resource2 { |
This file contains hidden or 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
globals { | |
providers = ["name1", "name2"] | |
} | |
generate_hcl "example.tf" { | |
content { | |
tm_dynamic "resource1" { | |
for_each = tm_toset(global.providers) | |
iterator = i |