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
$ flux dmesg | |
2022-04-14T13:40:22.028442Z broker.debug[0]: insmod connector-local | |
2022-04-14T13:40:22.028556Z broker.info[0]: start: none->join 0.0248116s | |
2022-04-14T13:40:22.028602Z broker.info[0]: overlay auth 1 OK | |
2022-04-14T13:40:22.028867Z broker.info[0]: parent-none: join->init 0.00030235s | |
2022-04-14T13:40:22.030284Z broker.info[0]: accepting connection from slurm-spack-flux-login0 (rank 1) uuid 03cc7648-59d8-4f1d-82d1-f59e15b2d3ac status partial | |
2022-04-14T13:40:22.030441Z broker.info[0]: online: (ranks ) | |
2022-04-14T13:40:22.031045Z broker.info[0]: overlay auth 2 OK | |
2022-04-14T13:40:22.031485Z broker.info[0]: accepting connection from slurm-spack-flux-login0 (rank 2) uuid 2d4b5c7a-641c-4593-8a73-260e59b94875 status full | |
2022-04-14T13:40:22.033405Z connector |
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
provider "acme" { | |
server_url = "https://acme-staging-v02.api.letsencrypt.org/directory" | |
} | |
resource "tls_private_key" "private_key" { | |
algorithm = "RSA" | |
} | |
resource "acme_registration" "reg" { | |
account_key_pem = "${tls_private_key.private_key.private_key_pem}" |
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
import base64 | |
import json | |
import os | |
import requests | |
from flask import Flask, request, redirect, url_for, send_from_directory | |
from werkzeug.utils import secure_filename | |
from google.cloud import storage | |
API_KEY='AIzaSyC7E1Ml0kLAg7A675q9Ib043-iIlyHz3OI' | |
CAT_BUCKET='19580414-catbucket-2304' |
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
Error from server (Forbidden): error when creating "install/kubernetes/istio-rbac-beta.yaml": clusterroles.rbac.authorization.k8s.io "istio-pilot" is forbidden: attempt to grant extra privileges: [PolicyRule{Resources:["istioconfigs"], APIGroups:["istio.io"], Verbs:["*"]} PolicyRule{Resources:["istioconfigs.istio.io"], APIGroups:["istio.io"], Verbs:["*"]} PolicyRule{Resources:["thirdpartyresources"], APIGroups:["extensions"], Verbs:["*"]} PolicyRule{Resources:["thirdpartyresources.extensions"], APIGroups:["extensions"], Verbs:["*"]} PolicyRule{Resources:["ingresses"], APIGroups:["extensions"], Verbs:["*"]} PolicyRule{Resources:["configmaps"], APIGroups:[""], Verbs:["*"]} PolicyRule{Resources:["endpoints"], APIGroups:[""], Verbs:["*"]} PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["*"]} PolicyRule{Resources:["services"], APIGroups:[""], Verbs:["*"]}] user=&{[email protected] [system:authenticated] map[]} ownerrules=[PolicyRule{Resources:["selfsubjectaccessreviews"], APIGroups:["authorization.k8s.io"] |
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
resources: | |
- name: {{ env["name"] }} | |
type: compute.v1.vpnTunnel | |
properties: | |
peerIp: {{ properties["peerip"] }} | |
region: {{ properties["region"] }} | |
sharedSecret: {{ properties["secret"] }} | |
targetVpnGateway: $(ref.{{ properties["target"] }}.selfLink) | |
- name: {{ env["name"] }}-route-1 | |
type: compute.v1.route |
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
resources: | |
- name: {{ env["name"] }} | |
type: compute.v1.targetVpnGateway | |
properties: | |
network: {{ properties["network"] }} | |
region: {{ properties["region"] }} | |
- name: {{ env["name"] }}-rule-esp | |
type: compute.v1.forwardingRule | |
properties: | |
IPAddress: {{ properties["address"] }} |
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
resources: | |
- name: {{ env["name"] }} | |
type: compute.v1.network | |
properties: | |
IPv4Range: {{ properties["ip_range"] }} |
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
imports: | |
- path: cluster-deployment.jinja | |
- path: network-template.jinja | |
- path: vpn-template.jinja | |
- path: vpn-tunnel-template.jinja | |
resources: | |
- name: cluster-deployment | |
type: cluster-deployment.jinja |
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
{% set HD_CLUSTER = "qa" %} | |
resources: | |
- name: {{ HD_CLUSTER }} | |
type: network-template.jinja | |
properties: | |
ip_range: 10.xyz.0.40/29 | |
- name: gateway-{{ HD_CLUSTER }}-vpn | |
type: vpn-template.jinja | |
properties: |
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
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
labels: | |
name: pause | |
name: pauser | |
namespace: dev | |
spec: | |
replicas: 1 | |
selector: |
NewerOlder