Overlay networking tutorial: confusing info about default network use

Aperta
#19,223 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker

Direzione di ricerca

Inizia con il tutorial sul networking overlay all'indirizzo docs.docker.com/network/network-tutorial-overlay/, leggendo insieme le sezioni “Use the default overlay network” e “Using a user-defined overlay network”. Verifica la distinzione e gli scopi previsti consultando la documentazione Docker circostante, quindi aggiorna la pagina in modo che la limitazione della rete predefinita e le differenze tra i due approcci siano esplicite.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area/networking area/swarm lifecycle/frozen status/triage
Is this a docs issue?
  • My issue is about the documentation content or website
Type of issue

Other

Description

I find the information about using / not using the default overlay network very confusing.

The first section is about using the default overlay network:

Use the default overlay network demonstrates how to use the default overlay network that Docker sets up for you automatically when you initialize or join a swarm. This network is not the best choice for production systems.

Does this refer to the ingress network? If yes, why is this not a good choice for production? Isn't ingress traffic supposed to go via ingress network? Am I not supposed to publish a port to the Ingress network? Or is it not a good choice for a different kind of use (inter-task communication)?

The tutorial then goes on to create a user defined network nginx-net and attach a service to it in the same section (so, it's not using the "default network"?)

The second section is about "Using a user-defined overlay network". Yet the steps involved seem to be exactly the same as in the first section only with a different name for the network (my-overlay instead of nginx-net).

Location

https://docs.docker.com/network/network-tutorial-overlay/

Suggestion
  • Clarify for what purpose exactly one should not use the default network
  • Point out the differences (if any) between the "Use the default overlay network" and "Use a user-defined overlay network" approaches
Lingua principale
Markdown
Stelle
4.7k
Fork
8.5k
Merge medio
2g 16h
PR unite (30g)
107

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di docker/docs

Tutte le issue di docker/docs

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.