Skip to content

Conversation

yuval-k
Copy link
Member

@yuval-k yuval-k commented Mar 19, 2020

BOT NOTES:
resolves #104

@yuval-k yuval-k requested a review from ilackarms March 19, 2020 13:40
SocketAddress: &envoy_api_v2_core.SocketAddress{
Address: p.Cache.Name + "." + p.Cache.Namespace + ".svc.cluster.local", // do we need the suffix svc.cluster.local?
PortSpecifier: &envoy_api_v2_core.SocketAddress_PortValue{
PortValue: 9979,
Copy link
Member

Choose a reason for hiding this comment

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

add this to defaults package

}
case WorkloadTypeDaemonSet:
workloads, err := p.KubeClient.AppsV1().DaemonSets(p.Workload.Namespace).List(metav1.ListOptions{
workloads, err := p.KubeClient.AppsV1().Deployments(p.Workload.Namespace).List(metav1.ListOptions{
Copy link
Member

Choose a reason for hiding this comment

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

revert to daemonset

func (c *CacheImpl) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
_, file := path.Split(r.URL.Path)
switch {
case len(file) == hex.EncodedLen(crypto.SHA256.Size()):
Copy link
Member

Choose a reason for hiding this comment

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

add comment for gloo backwards-compatibility (and maybe deprecate at some pt)?

_, err := d.kube.AppsV1().DaemonSets(d.namespace).Create(desiredDaemonSet)
// update on already exists err
_, err := d.kube.AppsV1().Deployments(d.namespace).Create(desiredDeployment)
// update don already exists err
Copy link
Member

Choose a reason for hiding this comment

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

don

@solo-changelog-bot
Copy link

Issues linked to changelog:
#104

@yuval-k
Copy link
Member Author

yuval-k commented Sep 22, 2020

this will be flaky untill istio 1.8 is out

@yuval-k yuval-k marked this pull request as draft September 22, 2020 16:57
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.

POD restarts when applying wasm deploy

2 participants