You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ki...@apache.org on 2020/12/03 06:42:41 UTC

[trafficserver-ingress-controller] branch master updated: Add healthchecks plugin, upgrade to ATS 8.1.1, fix syntax error with lgtm (#64)

This is an automated email from the ASF dual-hosted git repository.

kichan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 719e94b  Add healthchecks plugin, upgrade to ATS 8.1.1, fix syntax error with lgtm (#64)
719e94b is described below

commit 719e94b965b430040ba6e57bceab5f141b6c4f1d
Author: Kit Chan <ki...@apache.org>
AuthorDate: Wed Dec 2 22:42:34 2020 -0800

    Add healthchecks plugin, upgrade to ATS 8.1.1, fix syntax error with lgtm (#64)
---
 .lgtm.yml                  | 2 +-
 Dockerfile                 | 5 +++--
 README.md                  | 2 +-
 config/healthchecks.config | 1 +
 config/plugin.config       | 3 ++-
 5 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/.lgtm.yml b/.lgtm.yml
index 459b619..f4e8704 100644
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -17,5 +17,5 @@
 extraction:
   javascript:
     index:
-      exclude
+      exclude:
         - k8s
diff --git a/Dockerfile b/Dockerfile
index ed2da79..b7267d6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,14 +26,15 @@ RUN apk add --no-cache --virtual .ats-build-deps \
   libexecinfo-dev linux-headers libunwind-dev \
   brotli-dev jansson-dev luajit-dev readline-dev geoip-dev 
 
-RUN curl -L https://www-us.apache.org/dist/trafficserver/trafficserver-8.1.0.tar.bz2 | bzip2 -dc | tar xf - \
-  && cd trafficserver-8.1.0/ \
+RUN curl -L https://www-us.apache.org/dist/trafficserver/trafficserver-8.1.1.tar.bz2 | bzip2 -dc | tar xf - \
+  && cd trafficserver-8.1.1/ \
   && autoreconf -if \
   && ./configure --enable-debug=yes \
   && make \
   && make install
 
 COPY ["./config/plugin.config", "/usr/local/etc/trafficserver/plugin.config"]
+COPY ["./config/healthchecks.config", "/usr/local/etc/trafficserver/healthchecks.config"]
 COPY ["./config/records.config", "/usr/local/etc/trafficserver/records.config"]
 COPY ["./config/logging.yaml", "/usr/local/etc/trafficserver/logging.yaml"]
 
diff --git a/README.md b/README.md
index 86e91e5..82b7c62 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ ATS Kubernetes Ingress Controller
 
 ## Versions of Software Used
 - Alpine 3.12.1
-- Apache Traffic Server 8.1.0
+- Apache Traffic Server 8.1.1
 - LuaJIT 2.0.4 / Lua 5.1.4
 - Go 1.15.3
 - Other Packages
diff --git a/config/healthchecks.config b/config/healthchecks.config
new file mode 100644
index 0000000..96617cc
--- /dev/null
+++ b/config/healthchecks.config
@@ -0,0 +1 @@
+/status.html /var/run/ts-alive text/plain 200 404
diff --git a/config/plugin.config b/config/plugin.config
index 410e44a..9fda2cf 100644
--- a/config/plugin.config
+++ b/config/plugin.config
@@ -14,5 +14,6 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
+healthchecks.so /usr/local/etc/trafficserver/healthchecks.config
 tslua.so /usr/local/go/bin/src/ingress-ats/pluginats/connect_redis.lua
-stats_over_http.so
\ No newline at end of file
+stats_over_http.so