stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject Re: Releasing Stratos 4.1.3
Date Sun, 20 Sep 2015 16:10:36 GMT
I'm seeing a problem, we have removed the "name" label in the pod and added
a new label called "md5Hex-memberId". Due to this load balancing would not
work:

Map<String, String> podLabels = new HashMap<>();
podLabels.put("md5Hex-memberId",
DigestUtils.md5Hex(memberContext.getMemberId()));

Map<String, String> podAnnotations = new HashMap<>();
podAnnotations.put("memberId", memberContext.getMemberId());
podAnnotations.put("cartridgeType", memberContext.getCartridgeType());
podAnnotations.put("applicationId", memberContext.getApplicationId());
podAnnotations.put("clusterId", memberContext.getClusterId());
podAnnotations.put("clusterInstanceId", memberContext.getClusterInstanceId());

kubernetesApi.createPod(podId, podName, podLabels, podAnnotations,
dockerImage, cpu, memory, ports,
        environmentVariables);


On Sun, Sep 20, 2015 at 2:51 PM, Akila Ravihansa Perera <ravihansa@wso2.com>
wrote:

> Hi all,
>
> I've pushed release artifacts to staging repo at [1]. Please take few mins
> to verify the release. Also I've pushed cartridge-base, php and tomcat
> Docker images with 4.1.3 artifacts to DockerHub.
>
> [1]
> https://repository.apache.org/content/repositories/orgapachestratos-1057/
>
> Thanks.
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Mime
View raw message