Skip to content

Instantly share code, notes, and snippets.

View ayj's full-sized avatar

Jason Young ayj

  • Google
  • Kirkland, WA - United States
View GitHub Profile
# The empty profile has everything disabled
# This is useful as a base for custom user configuration
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
profile: empty
components:
ingressGateways:
diff --git a/pkg/mcp/source/client_source.go b/pkg/mcp/source/client_source.go
index 247474ff6..bac9b5936 100644
--- a/pkg/mcp/source/client_source.go
+++ b/pkg/mcp/source/client_source.go
@@ -19,6 +19,7 @@ import (
"io"
"time"
+ "github.com/gogo/protobuf/types"
"google.golang.org/grpc/codes"
#!/bin/bash
kc() {
kubectl $@
}
ic() {
istioctl $@
}
WARNING: DATA RACE
Read at 0x00c00211c390 by goroutine 414:
istio.io/istio/pilot/pkg/proxy/envoy/v2.buildLocalityLbEndpointsFromShards()
/usr/local/google/home/jasonyoung/projects/ws2/istio.io/istio/pilot/pkg/proxy/envoy/v2/eds.go:893 +0x8b5
istio.io/istio/pilot/pkg/proxy/envoy/v2.(*DiscoveryServer).loadAssignmentsForClusterIsolated()
/usr/local/google/home/jasonyoung/projects/ws2/istio.io/istio/pilot/pkg/proxy/envoy/v2/eds.go:601 +0x3cc
istio.io/istio/pilot/pkg/proxy/envoy/v2.(*DiscoveryServer).generateEndpoints()
/usr/local/google/home/jasonyoung/projects/ws2/istio.io/istio/pilot/pkg/proxy/envoy/v2/eds.go:621 +0xc0
istio.io/istio/pilot/pkg/proxy/envoy/v2.(*DiscoveryServer).pushEds()
/usr/local/google/home/jasonyoung/projects/ws2/istio.io/istio/pilot/pkg/proxy/envoy/v2/eds.go:665 +0x1a3
Flag --disable-install-crds has been deprecated, Setting this flag has no effect. Install CRD definitions directly or with the operator
2020-03-07T18:59:59.802379Z info FLAG: --appNamespace=""
2020-03-07T18:59:59.802406Z info FLAG: --clusterRegistriesNamespace="istio-system"
2020-03-07T18:59:59.802416Z info FLAG: --configDir=""
2020-03-07T18:59:59.802420Z info FLAG: --consulserverURL=""
2020-03-07T18:59:59.802425Z info FLAG: --ctrlz_address="localhost"
2020-03-07T18:59:59.802432Z info FLAG: --ctrlz_port="9876"
2020-03-07T18:59:59.802438Z info FLAG: --disable-install-crds="true"
2020-03-07T18:59:59.802443Z info FLAG: --domain="cluster.local"
2020-03-07T18:59:59.802447Z info FLAG: --grpcAddr=":15010"
2020-02-29T19:01:39.647019Z info FLAG: --binaryPath="/usr/local/bin/envoy"
2020-02-29T19:01:39.647052Z info FLAG: --concurrency="0"
2020-02-29T19:01:39.647058Z info FLAG: --configPath="/etc/istio/proxy"
2020-02-29T19:01:39.647065Z info FLAG: --connectTimeout="10s"
2020-02-29T19:01:39.647069Z info FLAG: --controlPlaneAuthPolicy="NONE"
2020-02-29T19:01:39.647075Z info FLAG: --controlPlaneBootstrap="true"
2020-02-29T19:01:39.647079Z info FLAG: --customConfigFile=""
2020-02-29T19:01:39.647083Z info FLAG: --datadogAgentAddress=""
2020-02-29T19:01:39.647087Z info FLAG: --disableInternalTelemetry="false"
2020-02-29T19:01:39.647101Z info FLAG: --discoveryAddress="istio-pilot.istio-system.svc:15012"
@ayj
ayj / logs
Created February 29, 2020 19:00
2020-02-29T18:57:05.648341Z info FLAG: --binaryPath="/usr/local/bin/envoy"
2020-02-29T18:57:05.648375Z info FLAG: --concurrency="0"
2020-02-29T18:57:05.648381Z info FLAG: --configPath="/etc/istio/proxy"
2020-02-29T18:57:05.648387Z info FLAG: --connectTimeout="10s"
2020-02-29T18:57:05.648392Z info FLAG: --controlPlaneAuthPolicy="NONE"
2020-02-29T18:57:05.648397Z info FLAG: --controlPlaneBootstrap="true"
2020-02-29T18:57:05.648401Z info FLAG: --customConfigFile=""
2020-02-29T18:57:05.648405Z info FLAG: --datadogAgentAddress=""
2020-02-29T18:57:05.648412Z info FLAG: --disableInternalTelemetry="false"
2020-02-29T18:57:05.648416Z info FLAG: --discoveryAddress="istio-pilot.istio-system.svc:15012"
This file has been truncated, but you can view the full file.
{
"configs": [
{
"@type": "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump",
"bootstrap": {
"node": {
"id": "router~10.44.2.40~istio-ingressgateway-6cc56ddfdc-rxwkz.istio-system~istio-system.svc.cluster.local",
"cluster": "istio-ingressgateway",
"metadata": {
"POD_NAME": "istio-ingressgateway-6cc56ddfdc-rxwkz",
{
"configs": [
{
"@type": "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump",
"bootstrap": {
"node": {
"id": "router~10.48.0.143~istio-ingressgateway-6cc56ddfdc-snv9r.istio-system~istio-system.svc.cluster.local",
"cluster": "istio-ingressgateway",
"metadata": {
"WORKLOAD_NAME": "istio-ingressgateway",
diff --git a/operator/data/profiles/remote.yaml b/operator/data/profiles/remote.yaml
index dfb1d0f72..2e432ecfd 100644
--- a/operator/data/profiles/remote.yaml
+++ b/operator/data/profiles/remote.yaml
@@ -3,7 +3,7 @@ kind: IstioOperator
spec:
components:
pilot:
- enabled: false
+ enabled: true # pilot is the component for istiod