Giter Club home page Giter Club logo

istiod's Introduction

istiod

Implementation for Isto-SDS and Simplified Istio/istiod

Setup

Basic install for istiod

This is the 'default' install, creating an istiod and ingress deployment in istio-system.

The install can be done in a fresh cluster, or in a cluster where istio is already setup - the install is not interfering with the normal istio install.

  1. Cluster-wide settings - require cluster admin, grant broad permissions. This step needs to be repeated on each release, all instances of the control plane will use the same CRDs.
kubectl apply -k github.com/costinm/istiod/kustomize/cluster

# Customize the mutating webhook to select which workloads/namespaces will be selected.
# Default is namespaces with istio-env=istiod label.

kubectl apply -k github.com/costinm/istiod/kustomize/autoinject
  1. Install istiod
kubectl apply -k github.com/costinm/istiod/kustomize/istiod
  1. Install an ingress gateway
kubectl apply -k github.com/costinm/istiod/kustomize/isto-ingress

Testing environment

This installs istiod, knative, 2 namespaces running fortio servers and client - one with secure and one insecure. More tests and scenarios will be added. This is intended to be used in the 'stability/perf/scale' clusters.

Note: These steps must be run after Istiod is in a 'Running' state. Istiod patches the mutatingwebhook resource to add CA credentials. Without those credentials, Kubernetes will refuse to create pods that run through the webhook. If you installed the workloads too early, you may need to delete stuck replicasests in order for them to start trying to create pods again.

  1. Cluster-wide settings - requires cluster-admin
kubectl apply -k github.com/costinm/istiod/test/all-cluster
  1. Everything else
kubectl apply -k github.com/costinm/istiod/test/all

Missing features

  • Galley validation not yet integrated

  • SDS code change to read from a file if secure JWT are not available WIP

istiod's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

istiod's Issues

Missing features istiod

[ ] Autoinjector (P0)
[ ] Galley validation
[ ] Citadel subset (for self-signed generation using SDS)
[ ] SDS JWT validation from Citadel, new SDS simplified server

Later:
[ ] Citadel subset for DNS generation if K8S cert signing is missing

Local run namespace issues

I ran locally with a kube context pointing to an empty cluster:

2019-10-16T00:05:57.777270Z     error   error initially creating leader election record: namespaces "istio-system" not found

Kube deployment stuck on getting galley config

Logs spammed with

Configuration not synced: first push for [istio/networking/v1alpha3/destinationrules istio/mixer/v1/config/client/quotaspecbindings istio/security/v1beta1/authorizationpolicies istio/networking/v1alpha3/gateways istio/networking/v1alpha3/sidecars istio/rbac/v1alpha1/servicerolebindings istio/networking/v1alpha3/serviceentries istio/authentication/v1alpha1/policies istio/rbac/v1alpha1/clusterrbacconfigs istio/mixer/v1/config/client/quotaspecs istio/networking/v1alpha3/envoyfilters istio/config/v1alpha2/httpapispecs istio/config/v1alpha2/httpapispecbindings istio/authentication/v1alpha1/meshpolicies istio/rbac/v1alpha1/serviceroles istio/rbac/v1alpha1/rbacconfigs istio/networking/v1alpha3/virtualservices] not received

No clear reason why yet

Initial issues

  • startup doesn't wait for Galley to be fully synced before pilot listener comes up
  • startup doesn't wait for galley to be ready before pilot MCP client connects ( will be solved by the direct path)
  • readiness is probably broken, needs to be tested
  • upstream envoy rejects configs !!
  • missing envoy config to provide TLS interface to pilot ( try first using Istio APIs)
  • missing new injector template, with cleaned up SDS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.