Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDNSDomain (0.15 sec)

  1. pilot/cmd/pilot-agent/app/cmd_test.go

    	"istio.io/istio/pilot/cmd/pilot-agent/options"
    )
    
    func TestPilotDefaultDomainKubernetes(t *testing.T) {
    	g := NewWithT(t)
    	role := &options.ProxyArgs{}
    	role.DNSDomain = ""
    
    	domain := getDNSDomain("default", role.DNSDomain)
    
    	g.Expect(domain).To(Equal("default.svc.cluster.local"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 935 bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/app/cmd.go

    	o.Context = ctx
    	o.Shutdown = shutdown
    	statusServer, err := status.NewServer(*o)
    	if err != nil {
    		return err
    	}
    	go statusServer.Run(ctx)
    	return nil
    }
    
    func getDNSDomain(podNamespace, domain string) string {
    	if len(domain) == 0 {
    		domain = podNamespace + ".svc." + constants.DefaultClusterLocalDomain
    	}
    	return domain
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top