meshversion

package
v0.0.0-...-e408518 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

README

Mesh Version

The meshversion vetter helps detect mismatched, possibly incompatible versions of Istio components running in the mesh.

When automatic sidecar injection is enabled for pods in the mesh, this vetter compares the version of Istio to the version of the Istio containers for each pod in the mesh, then generates notes upon version mismatch.

Version mismatch in various components can lead to unexpected behavior or policy violations due to incompatibility. It is recommended to upgrade the reported components to the Istio version.

Notes Generated

Documentation

Overview

Package meshversion vets the versions of Istio components, Sidecar proxy and generates notes on version mismatch.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeshVersion

type MeshVersion struct {
	// contains filtered or unexported fields
}

MeshVersion implements Vetter interface

func NewVetter

func NewVetter(factory vetter.ResourceListGetter) *MeshVersion

NewVetter returns "MeshVersion" which implements Vetter Interface

func NewVetterFromListers

func NewVetterFromListers(podLister v1.PodLister, cmLister v1.ConfigMapLister, nsLister v1.NamespaceLister) *MeshVersion

func (*MeshVersion) Info

func (m *MeshVersion) Info() *apiv1.Info

Info returns information about the vetter

func (*MeshVersion) Vet

func (m *MeshVersion) Vet() ([]*apiv1.Note, error)

Vet returns the list of generated notes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL