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
install docker, kind, golang, helm | |
# clone this repo | |
git clone https://github.com/ovn-org/ovn-kubernetes.git && cd ovn-kubernetes | |
# create a cluster, with 1 controller and 1 worker node | |
cat <<EOT > kind.yaml | |
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 |
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
# SPDX-FileCopyrightText: 2022 John Park for Adafruit Industries | |
# SPDX-License-Identifier: MIT | |
# Adapted by Flaviof for some extra functionality | |
# Convert files to appropriate WAV format (mono, 22050 Hz, 16-bit signed) | |
import asyncio | |
import time | |
import board | |
import keypad |
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
diff --git a/dist/images/ovndb-raft-functions.sh b/dist/images/ovndb-raft-functions.sh | |
index ceb523cfe..99ed10d37 100644 | |
--- a/dist/images/ovndb-raft-functions.sh | |
+++ b/dist/images/ovndb-raft-functions.sh | |
@@ -114,7 +114,8 @@ check_and_apply_ovnkube_db_ep() { | |
# times and then give up. | |
for ip in ${ips[@]}; do | |
- wait_for_event attempts=10 check_ovnkube_db_ep ${ip} ${port} | |
+ echo wait_for_event attempts=9999999 check_ovnkube_db_ep ${ip} ${port} |
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
diff --git a/go-controller/pkg/ovn/egressip.go b/go-controller/pkg/ovn/egressip.go | |
index 5d524a8a3..262c00522 100644 | |
--- a/go-controller/pkg/ovn/egressip.go | |
+++ b/go-controller/pkg/ovn/egressip.go | |
@@ -1148,13 +1148,21 @@ func (oc *Controller) syncStaleEgressReroutePolicy(egressIPCache map[string]egre | |
return true | |
} | |
// Check for stale nexthops that may exist in the logical router policy and store that in logicalRouterPolicyStaleNexthops | |
+ onlyStaleNextHops := true | |
staleNextHops := sets.NewString() |
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
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: pprof | |
spec: | |
selector: | |
matchLabels: | |
name: pprof | |
template: | |
metadata: |
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
import busio | |
import board | |
import time | |
import adafruit_aw9523 | |
i2c = busio.I2C(board.SCL, board.SDA) | |
aw = adafruit_aw9523.AW9523(i2c) | |
print("Found AW9523") | |
ON = False |
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
FROM fedora:33 as intermediate | |
USER root | |
ARG schema=wanted.schema | |
COPY $schema /tmp/wanted.schema | |
RUN INSTALL_PKGS="go git" && \ | |
dnf install --best --refresh -y --setopt=tsflags=nodocs $INSTALL_PKGS && \ |
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
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: ovsdb-mon-ovs | |
spec: | |
selector: | |
matchLabels: | |
name: ovsdb-mon-ovs | |
template: | |
metadata: |
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
❯ for f in $(grep -ilr 'vrrp_instance ocp-cluster-edge33-0_INGRESS' *); do echo $f ; grep -A20 'vrrp_instance ocp-cluster-edge33-0_INGRESS' $f ; echo ; done | |
quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-b56c4a1dfe83841c8cb4141065c77ab48dc8b3285140060932a47c207d53f57e/namespaces/openshift-kni-infra/pods/keepalived-master-0-2/keepalived-monitor/keepalived-monitor/logs/current.log | |
2021-10-01T04:42:06.646698988Z time="2021-10-01T04:42:06Z" level=info msg="vrrp_instance ocp-cluster-edge33-0_INGRESS {" | |
2021-10-01T04:42:06.646708352Z time="2021-10-01T04:42:06Z" level=info msg=" state BACKUP" | |
2021-10-01T04:42:06.646708352Z time="2021-10-01T04:42:06Z" level=info msg=" interface br-ex" | |
2021-10-01T04:42:06.646708352Z time="2021-10-01T04:42:06Z" level=info msg=" virtual_router_id 219" | |
2021-10-01T04:42:06.646717707Z time="2021-10-01T04:42:06Z" level=info msg=" priority 20" | |
2021-10-01T04:42:06.646717707Z time="2021-10-01T04:42:06Z" level=info msg=" advert_int 1" | |
2021-10-01T04:42:06.646717707Z time="2 |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: ovsdb-mon-ovn | |
spec: | |
containers: | |
- name: ovsdb-mon-ovn | |
image: quay.io/pdiak/fedora-ovn:latest | |
resources: | |
requests: |
NewerOlder