Closed sriramec closed 4 years ago
@sriramec Akraino is running DANM 4.1, while this functionality was added by PR: https://github.com/nokia/danm/pull/187; and subsequently only released with DANM 4.2
With 4.2 it works as intended:
[cloudadmin@controller-1 ~]$ kubectl exec internal-processor-set-0 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: eth0@if217: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 8950 qdisc noqueue
link/ether ba:1e:f7:20:84:46 brd ff:ff:ff:ff:ff:ff
inet 10.244.1.186/24 brd 10.244.1.255 scope global eth0
valid_lft forever preferred_lft forever
218: int1@if7: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 9000 qdisc noqueue
link/ether 24:8a:07:8e:d0:b4 brd ff:ff:ff:ff:ff:ff
inet 10.240.1.100/24 brd 10.240.1.255 scope global int1
valid_lft forever preferred_lft forever
inet6 2001:db8::3f:fffa/64 scope global flags 02
valid_lft forever preferred_lft forever
inet6 fe80::248a:700:18e:d0b4/64 scope link
valid_lft forever preferred_lft forever
[cloudadmin@controller-1 ~]$ kubectl describe service vnf-internal-processor-sset-danm
Name: vnf-internal-processor-sset-danm
Namespace: default
Labels: <none>
Annotations: danm.k8s.io/clusterNetwork: internal
danm.k8s.io/selector: {"app":"internal-processor-set"}
Selector: <none>
Type: ClusterIP
IP: None
Port: zeromq 5555/TCP
TargetPort: 5555/TCP
Endpoints: 10.240.1.100:5555,[2001:db8::3f:fffa]:5555
Session Affinity: None
Events: <none>
Upgrade to latest release, and functionality will work
Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
1) clusterNetwork yaml Source: nwsvcchart/charts/danmnetwork/templates/danm.yaml K8s CRD DanmNet API schema description
2) pod yaml $ cat busybox.yaml
3) service yaml
But service maps only to IPv4 address output of below command shows'
output of "ip a s" inside pod shows both IPv4 and IPv6 address to pod additional interface.
What you expected to happen:
How to reproduce it:
Anything else we need to know?:
Environment:
DANM version (use
danm -version
):Kubernetes version (use
kubectl version
):DANM configuration (K8s manifests, kubeconfig files, CNI config file):
OS (e.g. from /etc/os-release):
Kernel (e.g.
uname -a
):Others: