- Sticky sessions are provided in two ways, cookies and stick-tables
- Routes that run with an http mode backend (unsecure, edge, and reencrypt) utilize cookies
- Routes that run with a tcp mode backend utilize stick-tables
- Sticky sessions are implementation specific to a router. We have implemented them in the HAProxy template router.
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
os_http_be.map and os_sni_passthrough.map are both just empty files |
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
### | |
# Create mirror repo following disconnected instructions | |
### | |
# create dir | |
mkdir -p ~/registry1/{auth,certs,data} | |
# create cert | |
openssl req -newkey rsa:4096 -nodes -sha256 -keyout ~/registry1/certs/domain.key -x509 -days 365 -out ~/registry1/certs/domain.crt |
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
[pweil@paperweight metering-operator]$ podman ps | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
b011e03c9613 registry.redhat.io/redhat/redhat-operator-index:v4.6 registry serve -d... 5 hours ago Up 5 hours ago 0.0.0.0:50051->50051/tcp relaxed_brattain | |
[pweil@paperweight metering-operator]$ grpcurl -plaintext localhost:50051 api.Registry/ListPackages | |
{ | |
"name": "amq-streams" | |
} |
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
package e2e | |
import ( | |
"context" | |
deploy "github.com/kube-reporting/metering-operator/pkg/deploy" | |
"github.com/kube-reporting/metering-operator/test/deployframework" | |
v1 "k8s.io/api/core/v1" | |
"k8s.io/api/storage/v1beta1" | |
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
"testing" |
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
package e2e | |
import ( | |
"github.com/kube-reporting/metering-operator/test/deployframework" | |
"github.com/kube-reporting/metering-operator/test/reportingframework" | |
"testing" | |
) | |
type PreInstallFunc func(ctx *deployframework.DeployerCtx) error |
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
[pweil@pweil-fedora oc]$ ./oc image mirror -a /tmp/pull-secret.json --dir=~/mirror-file file://openshift/release:4.3.3* ${LOCAL_REGISTRY}/ocp-4.3 | |
E0305 15:10:05.065456 10090 config.go:236] while trying to parse blob "{\n \"auths\": {\n \"localhost:5000\": {\n \"auth\": \"dXNlcjpwYXNz\",\n \"email\": \"foo@bar.com\"\n }\n },\n}\n": invalid character '}' looking for beginning of object key string | |
error: unable to load --registry-config: invalid character '}' looking for beginning of object key string | |
[pweil@pweil-fedora oc]$ ./oc image mirror -a /tmp/pull-secret.json --dir=~/mirror-file file://openshift/release:4.3.3* ${LOCAL_REGISTRY}/ocp-4.3 | |
E0305 15:10:25.159586 10112 config.go:236] while trying to parse blob " \"localhost:5000\": {\n \"auth\": \"dXNlcjpwYXNz\",\n \"email\": \"foo@bar.com\"\n }\n": invalid character ':' after top-level value | |
error: unable to load --registry-config: invalid character ':' after top-level value | |
[pweil@pweil-fedora oc]$ ./ |
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
[pweil@pweil-fedora openshift-azure]$ oc version | |
oc v4.0.0-alpha.0+02f888e-285 | |
kubernetes v1.11.0+d4cacc0 | |
features: Basic-Auth GSSAPI Kerberos SPNEGO | |
Server https://pweilosa.eastus.cloudapp.azure.com | |
openshift v3.11.43 | |
kubernetes v1.11.0+d4cacc0 |
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
Error from server (Forbidden): clusterrolebindings.authorization.openshift.io "dedicated-project-admin-0" is forbidden: attempt to grant extra privileges: [ | |
PolicyRule{APIGroups:[""], Resources:["limitranges"], Verbs:["create"]} | |
PolicyRule{APIGroups:[""], Resources:["limitranges"], Verbs:["delete"]} | |
PolicyRule{APIGroups:[""], Resources:["limitranges"], Verbs:["get"]} | |
PolicyRule{APIGroups:[""], Resources:["limitranges"], Verbs:["list"]} | |
PolicyRule{APIGroups:[""], Resources:["limitranges"], Verbs:["patch"]} | |
PolicyRule{APIGroups:[""], Resources:["limitranges"], Verbs:["update"]} | |
PolicyRule{APIGroups:[""], Resources:["limitranges"], Verbs:["watch"]} | |
PolicyRule{APIGroups:[""], Resources:["resourcequotas"], Verbs:["create"]} | |
PolicyRule{APIGroups:[""], Resources:["resourcequotas"], Verbs:["delete"]} |
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: Deployment | |
metadata: | |
name: namespace-rolebindings | |
namespace: openshift-infra | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: namespace-rolebindings |
NewerOlder