Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove HOSTNAME and IP/IP6 env vars #916

Merged
merged 1 commit into from
Jul 18, 2017
Merged

Remove HOSTNAME and IP/IP6 env vars #916

merged 1 commit into from
Jul 18, 2017

Conversation

bcreane
Copy link
Contributor

@bcreane bcreane commented Jul 14, 2017

Description

No longer set HOSTNAME or IP/IP6 environment variables because they've been replaced by NODENAME and Node resource, respectively.

I don't see a release note mentioning this change. @caseydavenport , can you confirm?

Todos

  • Tests
  • Documentation
  • Release note

Release Note

None required

@bcreane bcreane requested a review from robbrockbank July 14, 2017 20:42
@caseydavenport
Copy link
Member

@robbrockbank is probably best placed to comment on the release note.

@caseydavenport caseydavenport added this to the next-milestone milestone Jul 14, 2017
@caseydavenport
Copy link
Member

caseydavenport commented Jul 14, 2017

Putting this in next-milestone for now, I don't think we need this for v2.4. (but correct me if I'm wrong!)

@robbrockbank
Copy link
Contributor

There is no need for a release note - this is an internal implementation detail.

@@ -135,7 +135,7 @@ Enabling IPv6 forwarding
Increasing conntrack limit
Running the following command:

docker run --net=host --privileged --name=calico-node -d --restart=always -e ETCD_SCHEME=http -e HOSTNAME=calico -e CALICO_LIBNETWORK_ENABLED=true -e ETCD_AUTHORITY=127.0.0.1:2379 -e AS= -e NO_DEFAULT_POOLS= -e ETCD_ENDPOINTS= -e IP= -e IP6= -e CALICO_NETWORKING_BACKEND=bird -v /var/run/docker.sock:/var/run/docker.sock -v /var/run/calico:/var/run/calico -v /lib/modules:/lib/modules -v /var/log/calico:/var/log/calico -v /run/docker/plugins:/run/docker/plugins quay.io/calico/node:{{site.data.versions[page.version].first.title}}
docker run --net=host --privileged --name=calico-node -d --restart=always -e ETCD_SCHEME=http -e CALICO_LIBNETWORK_ENABLED=true -e ETCD_AUTHORITY=127.0.0.1:2379 -e AS= -e NO_DEFAULT_POOLS= -e ETCD_ENDPOINTS= -e CALICO_NETWORKING_BACKEND=bird -v /var/run/docker.sock:/var/run/docker.sock -v /var/run/calico:/var/run/calico -v /lib/modules:/lib/modules -v /var/log/calico:/var/log/calico -v /run/docker/plugins:/run/docker/plugins quay.io/calico/node:{{site.data.versions[page.version].first.title}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is unrelated to the issue no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, not directly related to this PR. will remove and respin the PR.

@robbrockbank
Copy link
Contributor

I don't think the issue requires the node run documentation to be updated does it, or is that addressing a different issue?

HOSTNAME has been replaced by NODENAME and IP/IP6 now come from the
Node resource, as part of projectcalico/calicoctl#1453.

See issue: projectcalico/calico-bgp-daemon#18
@robbrockbank
Copy link
Contributor

LGTM

@robbrockbank robbrockbank merged commit f61eef2 into projectcalico:master Jul 18, 2017
@bcreane bcreane deleted the remove_bgp_env_vars branch July 19, 2017 18:15
caseydavenport pushed a commit that referenced this pull request Dec 14, 2021
…-master

[master] Semaphore Auto Pin Update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants