<commit_before># Copyright 2019 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: activator
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "5"
        autoscaling.knative.dev/maxScale: "5"
        # Always hook the activator in.
        autoscaling.knative.dev/targetBurstCapacity: "-1"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: activator-with-cc
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "5"
        autoscaling.knative.dev/maxScale: "5"
        # Always hook the activator in.
        autoscaling.knative.dev/targetBurstCapacity: "-1"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
      containerConcurrency: 100
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: activator-with-cc-10
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "15"
        autoscaling.knative.dev/maxScale: "15"
        # Always hook the activator in.
        autoscaling.knative.dev/targetBurstCapacity: "-1"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
      containerConcurrency: 10
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: activator-with-cc-1
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "150"
        autoscaling.knative.dev/maxScale: "150"
        # Always hook the activator in.
        autoscaling.knative.dev/targetBurstCapacity: "-1"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
        resources:
          requests:
            cpu: 10m
            memory: 50Mi
          limits:
            cpu: 30m
            memory: 100Mi
      containerConcurrency: 1
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: queue-proxy
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "5"
        autoscaling.knative.dev/maxScale: "5"
        # Only hook the activator in when scaled to zero.
        autoscaling.knative.dev/targetBurstCapacity: "0"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: queue-proxy-with-cc
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "5"
        autoscaling.knative.dev/maxScale: "5"
        # Only hook the activator in when scaled to zero.
        autoscaling.knative.dev/targetBurstCapacity: "0"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
        resources:
          requests:
            cpu: 10m
            memory: 50Mi
          limits:
            cpu: 50m
            memory: 150Mi
      containerConcurrency: 100
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: queue-proxy-with-cc-10
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "15"
        autoscaling.knative.dev/maxScale: "15"
        # Only hook the activator in when scaled to zero.
        autoscaling.knative.dev/targetBurstCapacity: "0"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
        resources:
          requests:
            cpu: 10m
            memory: 50Mi
          limits:
            cpu: 50m
            memory: 150Mi
      containerConcurrency: 10
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: queue-proxy-with-cc-1
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "150"
        autoscaling.knative.dev/maxScale: "150"
        # Only hook the activator in when scaled to zero.
        autoscaling.knative.dev/targetBurstCapacity: "0"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
        resources:
          requests:
            cpu: 10m
            memory: 50Mi
          limits:
            cpu: 30m
            memory: 100Mi
      containerConcurrency: 1
---
apiVersion: v1<commit_msg>Remove the resource blocks. (#5282)<commit_after># Copyright 2019 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: activator
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "5"
        autoscaling.knative.dev/maxScale: "5"
        # Always hook the activator in.
        autoscaling.knative.dev/targetBurstCapacity: "-1"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: activator-with-cc
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "5"
        autoscaling.knative.dev/maxScale: "5"
        # Always hook the activator in.
        autoscaling.knative.dev/targetBurstCapacity: "-1"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
      containerConcurrency: 100
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: activator-with-cc-10
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "15"
        autoscaling.knative.dev/maxScale: "15"
        # Always hook the activator in.
        autoscaling.knative.dev/targetBurstCapacity: "-1"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
      containerConcurrency: 10
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: activator-with-cc-1
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "150"
        autoscaling.knative.dev/maxScale: "150"
        # Always hook the activator in.
        autoscaling.knative.dev/targetBurstCapacity: "-1"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
      containerConcurrency: 1
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: queue-proxy
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "5"
        autoscaling.knative.dev/maxScale: "5"
        # Only hook the activator in when scaled to zero.
        autoscaling.knative.dev/targetBurstCapacity: "0"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: queue-proxy-with-cc
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "5"
        autoscaling.knative.dev/maxScale: "5"
        # Only hook the activator in when scaled to zero.
        autoscaling.knative.dev/targetBurstCapacity: "0"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
      containerConcurrency: 100
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: queue-proxy-with-cc-10
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "15"
        autoscaling.knative.dev/maxScale: "15"
        # Only hook the activator in when scaled to zero.
        autoscaling.knative.dev/targetBurstCapacity: "0"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
      containerConcurrency: 10
---
apiVersion: serving.knative.dev/v1beta1
kind: Service
metadata:
  name: queue-proxy-with-cc-1
spec:
  template:
    metadata:
      annotations:
        autoscaling.knative.dev/minScale: "150"
        autoscaling.knative.dev/maxScale: "150"
        # Only hook the activator in when scaled to zero.
        autoscaling.knative.dev/targetBurstCapacity: "0"
    spec:
      containers:
      - image: knative.dev/serving/test/test_images/autoscale
      containerConcurrency: 1
---
apiVersion: v1
{'fraction_non_alphanumeric': 0.09359391965255158, 'fraction_numerical': 0.021498371335504887, 'mean_word_length': 2.5896336710833983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '675943', 'n_tokens_mistral': 3036, 'n_tokens_neox': 2829, 'n_words': 691}