Dataplane V2 does not support L7 visibility so you will be limited to L4 flows.
- Add the following to
cilium-config
ConfigMap's data inkube-system
:
kubectl --namespace kube-system edit configmap cilium-config
enable-hubble: "true"
apiVersion: kubescheduler.config.k8s.io/v1beta3 | |
kind: KubeSchedulerConfiguration | |
profiles: | |
- schedulerName: default-scheduler | |
pluginConfig: | |
- name: PodTopologySpread | |
args: | |
defaultConstraints: | |
- maxSkew: 3 | |
topologyKey: "kubernetes.io/hostname" |
apiVersion: kyverno.io/v1 | |
kind: ClusterPolicy | |
metadata: | |
name: validate-networkpolicy-namespace-selector | |
spec: | |
validationFailureAction: Enforce | |
rules: | |
- name: validate-networkpolicy-namespace-selector | |
match: | |
resources: |
module github.com/epk/play | |
go 1.20 | |
require ( | |
k8s.io/client-go v0.26.3 | |
sigs.k8s.io/controller-runtime v0.14.5 | |
) | |
require ( |
package proxy | |
import ( | |
"context" | |
"net/http" | |
"net/http/httputil" | |
"net/url" | |
"golang.org/x/oauth2" | |
"golang.org/x/oauth2/google" |
node: | |
id: identity-aware-proxy | |
cluster: identity-aware-proxy | |
admin: | |
address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 9901 |
module test | |
go 1.19 | |
require ( | |
buf.build/gen/go/envoyproxy/envoy/bufbuild/connect-go v1.4.1-20221219165829-f29edaef12a2.1 | |
buf.build/gen/go/envoyproxy/envoy/protocolbuffers/go v1.28.1-20221219165829-f29edaef12a2.4 | |
github.com/bufbuild/connect-go v1.4.1 | |
github.com/bufbuild/connect-grpchealth-go v1.0.0 | |
golang.org/x/net v0.4.0 |
{ config, lib, pkgs, ... }: | |
let | |
baseconfig = { allowUnfree = true; }; | |
unstable = import <nixos-unstable> { config = baseconfig; }; | |
in { | |
imports = |
{ | |
/************************* | |
Go | |
*************************/ | |
"go.useLanguageServer": true, | |
"[go]": { | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true, | |
}, |