coredns

command module
v0.0.0-...-548995d Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

README

How to build Coredns image with fanout plugin?

At this moment exist two ways how to build Coredns image with fanout plugin.

Build via Coredns soruce code

You can build Coredns image via source code of Corends for this case you need to run:

$ cd $GOPATH
$ git clone https://github.com/coredns/coredns
$ cd coredns
$ echo fanout:github.com/subzerobo/fanout >> plugin.cfg
$ make
Build via custom main.go file

As alternative you can create your own main.go file and build your own Coredns binary. Take a look at Official example. After that you will need also to create your own Dockerfile. You can also use files prepared for networkservicemesh. For this you need to run:

$ go build -o coredns/coredns coredns/main.go
$ docker build coredns/. -t "${ORG}/coredns:${TAG}"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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