- Issue: 5 seconds startup timeout at kuma-sidecar while DNS resolving
- Setup:
- OpenShift 4.10 with Multus-CNI
- Offline / air-gapped environment
- IPv6 disabled
- Kuma 1.7.0-amd64
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
| # Copyright 2017 The Kubernetes Authors. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
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: Namespace | |
| metadata: | |
| name: echoserver | |
| --- | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: echoserver | |
| namespace: echoserver |
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
| # | |
| # Docker cant fetch host IP-Address, replace [SERVER] in line 30 with your local hostname or IP directly. | |
| # Note: external port is set to 9093 | |
| # | |
| version: '3.1' | |
| services: | |
| zoo1: | |
| image: zookeeper:3.4.9 |
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
| #!/bin/bash | |
| HOSTNAME=__INSERT__DNS__HERE | |
| LOGFILE=./current_ip.log | |
| RESOLVED_IP=$(host $HOSTNAME | cut -f4 -d' ') | |
| PORTS=(80) | |
| if [ ! -f $LOGFILE ]; then | |
| for PORT in "${PORTS[@]}"; do | |
| /usr/sbin/ufw allow from $RESOLVED_IP to any port $PORT | |
| done |
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
| from .logger import log |
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
| a01.cdn.update.playstation.org.edgesuite.net | |
| a192.d.akamai.net | |
| al02.cdn.update.playstation.net | |
| api-p014.ribob01.net | |
| apicdn-p014.ribob01.net | |
| artcdnsecure.ribob01.net | |
| asm.np.community.playstation.net | |
| dau01.ps4.update.playstation.net | |
| dbr01.ps4.update.playstation.net | |
| dcn01.ps4.update.playstation.net |
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
| public <T> T ifNull(T... args) { | |
| for (T arg : args) { | |
| if (arg != null) | |
| return arg; | |
| } | |
| } |
NewerOlder