serviceassociation

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

Service Association

The serviceassociation vetter inspects the services associated with pods in the mesh and generates notes if a pod is associated with multiple services. Pods must belong to a single kubernetes service for service mesh to function correctly.

It is recommended to update the services mentioned in the generated notes so that the pods are only associated with a single service.

Notes Generated

Documentation

Overview

Package serviceassociation vets multiple service associations of pods in the mesh.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SvcAssociation

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

SvcAssociation implements Vetter interface

func NewVetter

func NewVetter(factory vetter.ResourceListGetter) *SvcAssociation

NewVetter returns "svcAssociation" which implements Vetter Interface

func NewVetterFromListers

func NewVetterFromListers(nsLister v1.NamespaceLister, epLister v1.EndpointsLister, podLister v1.PodLister) *SvcAssociation

func (*SvcAssociation) Info

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

Info returns information about the vetter

func (*SvcAssociation) Vet

func (m *SvcAssociation) 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